Commit 4204ed58 authored by Steve Hart's avatar Steve Hart Committed by Ben Gamari

Fix typo in maybeToList documentation

parent 8d594bef
......@@ -175,7 +175,7 @@ fromMaybe :: a -> Maybe a -> a
fromMaybe d x = case x of {Nothing -> d;Just v -> v}
-- | The 'maybeToList' function returns an empty list when given
-- 'Nothing' or a singleton list when not given 'Nothing'.
-- 'Nothing' or a singleton list when not given 'Just'.
--
-- ==== __Examples__
--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment