typo
This commit is contained in:
parent
61dbad505d
commit
25f998679c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ readFileStrict = readFile >=> \s -> length s `seq` return s
|
|||
- in the second result list.
|
||||
-
|
||||
- separate (== ':') "foo:bar" = ("foo", "bar")
|
||||
- separate (== ':') "foobar" = ("foo, "")
|
||||
- separate (== ':') "foobar" = ("foobar", "")
|
||||
-}
|
||||
separate :: (a -> Bool) -> [a] -> ([a], [a])
|
||||
separate c l = unbreak $ break c l
|
||||
|
|
Loading…
Reference in a new issue