@@ -153,6 +153,8 @@ filter = Native.List.filter
153153{-| Apply a function that may succeed to all values in the list, but only keep
154154the successes.
155155
156+ String.toInt : String -> Maybe Int
157+
156158 filterMap String.toInt ["3", "4.0", "5", "hats"] == [3,5]
157159-}
158160filterMap : (a -> Maybe b) -> [a] -> [b]
@@ -212,6 +214,7 @@ concatMap : (a -> appendable) -> [a] -> appendable
212214concatMap f list = concat (map f list)
213215
214216{-| Get the sum of the list elements.
217+
215218 sum [1..4] == 10
216219-}
217220sum : [number] -> number