From 9c22031d280d3ffc3a9649f9a8a3fbe6fc842ca9 Mon Sep 17 00:00:00 2001 From: evancz Date: Sun, 7 Apr 2013 17:58:43 -0700 Subject: [PATCH] Style tweak. --- libraries/Maybe.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Maybe.elm b/libraries/Maybe.elm index 38c7d01..48ee6cf 100644 --- a/libraries/Maybe.elm +++ b/libraries/Maybe.elm @@ -1,7 +1,7 @@ module Maybe where -import List (foldr) +import List as List -- The Maybe datatype. Useful when a computation may or may not -- 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 -- Filters out Nothings and extracts the remaining values. justs : [Maybe a] -> [a] -justs = foldr cons [] \ No newline at end of file +justs = List.foldr cons [] \ No newline at end of file