on master help sign in
Style tweak.
commit9c22031d280d3ffc3a9649f9a8a3fbe6fc842ca9 authorevancz <info@elm-lang.org> dateSun 7 Apr 2013, 17:58 (14 years ago) parent2289029
1 file changed+2−2
libraries/Maybe.elm+2−2
libraries/Maybe.elm+2−2
@@ -1,7 +1,7 @@
11
22module Maybe where
33
4−import List (foldr)
4+import List as List
55
66-- The Maybe datatype. Useful when a computation may or may not
77-- result in a value (e.g. logarithm is defined only for positive numbers).
@@ -30,4 +30,4 @@ cons mx xs = maybe xs (\x -> x :: xs) mx
3030
3131-- Filters out Nothings and extracts the remaining values.
3232justs : [Maybe a] -> [a]
33−justs = foldr cons []
33+justs = List.foldr cons []