ccapndave/elm-flat-map/1.2.0

List.FlatMap

This module implements the flatMap combinator for List. This allows you to call functions that return a List with arguments that are also Lists without having to worry about ending up with a List (List a) return type.

FlatMaps

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
(a -> b -> c -> d -> e -> List f)
-> List a
-> List b
-> List c
-> List d
-> List e
-> List f