I should really run make format...
This commit is contained in:
parent
9e50c71ec7
commit
2dd054f17e
@ -14,7 +14,6 @@ combineTuple val tup = fst tup <> [val] <> snd tup
|
|||||||
combineTupleList :: [a] -> ([a], [a]) -> [a]
|
combineTupleList :: [a] -> ([a], [a]) -> [a]
|
||||||
combineTupleList val tup = fst tup <> val <> snd tup
|
combineTupleList val tup = fst tup <> val <> snd tup
|
||||||
|
|
||||||
|
|
||||||
insertAt :: Int -> a -> [a] -> [a]
|
insertAt :: Int -> a -> [a] -> [a]
|
||||||
insertAt idx val xs = combineTuple val (splitAt idx xs)
|
insertAt idx val xs = combineTuple val (splitAt idx xs)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user