This module implements the flatMap
combinator for List
. This allows you to call functions
that return a List
with arguments that are also List
s without having to worry about ending up
with a List (List a)
return type.
flatMap : (a -> List b) -> List a -> List b
flatMap2 : (a -> b -> List c) -> List a -> List b -> List c
flatMap3 : (a -> b -> c -> List d) -> List a -> List b -> List c -> List d
flatMap4 : (a -> b -> c -> d -> List e) -> List a -> List b -> List c -> List d -> List e
flatMap5 : (a -> b -> c -> d -> e -> List f) -> List a -> List b -> List c -> List d -> List e -> List f