Fix whitespace
This commit is contained in:
parent
73093e4e29
commit
7ec9fbe884
@ -5,7 +5,6 @@ module Alea.List where
|
||||
split :: (Eq a) => a -> [a] -> [[a]]
|
||||
split _ [] = [[]]
|
||||
split delim (c:cs)
|
||||
| c == delim = [] : rest
|
||||
| otherwise = (c : head rest) : tail rest
|
||||
where
|
||||
rest = split delim cs
|
||||
| c == delim = [] : rest
|
||||
| otherwise = (c : head rest) : tail rest
|
||||
where rest = split delim cs
|
||||
|
Loading…
Reference in New Issue
Block a user