whoops deleted stray file
This commit is contained in:
parent
2dc820fc5b
commit
c1c14a1fe9
1 changed files with 0 additions and 6 deletions
6
split.hs
6
split.hs
|
|
@ -1,6 +0,0 @@
|
|||
split :: Eq a => a -> [a] -> [[a]]
|
||||
split _ [] = []
|
||||
split d as = chunk : (split d rest)
|
||||
where
|
||||
chunk = takeWhile (/= d) as
|
||||
rest = drop 1 $ dropWhile (/= d) as
|
||||
Loading…
Add table
Add a link
Reference in a new issue