I should really run make format...

This commit is contained in:
Rowan Torbitzky-Lane 2025-01-26 01:18:23 -06:00
parent 9e50c71ec7
commit 2dd054f17e

View File

@ -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)