List.concatMap
is the same pattern as andThen
under a different nameandThen identity
can be used to flatten somethingelm-list-cartesian
package gives two valid map2
implementions for List
elm-review-simplify
packageMore of Joël's distillation of category theory ideas: