commit
7920a4f3af
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ list must have the same type.
|
||||||
@docs head, tail, last, filter, take, drop
|
@docs head, tail, last, filter, take, drop
|
||||||
|
|
||||||
# Putting Lists Together
|
# Putting Lists Together
|
||||||
@docs concat, concatMap, join, intersperse, zip, zipWith
|
@docs concat, concatMap, join, intersperse, zip, zipWith, repeat
|
||||||
|
|
||||||
# Taking Lists Apart
|
# Taking Lists Apart
|
||||||
@docs partition, unzip
|
@docs partition, unzip
|
||||||
|
|
|
@ -233,7 +233,7 @@ any = Native.String.any
|
||||||
|
|
||||||
all isDigit "90210" == True
|
all isDigit "90210" == True
|
||||||
all isDigit "R2-D2" == False
|
all isDigit "R2-D2" == False
|
||||||
any isDigit "heart" == False
|
all isDigit "heart" == False
|
||||||
-}
|
-}
|
||||||
all : (Char -> Bool) -> String -> Bool
|
all : (Char -> Bool) -> String -> Bool
|
||||||
all = Native.String.all
|
all = Native.String.all
|
||||||
|
|
Loading…
Reference in a new issue