refine monaderror section

This commit is contained in:
Stephen Diehl
2016-12-14 17:16:20 +00:00
parent 1f2ed3e4cb
commit ed6fa9c8ea
2 changed files with 43 additions and 9 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ map :: Functor f => (a -> b) -> f a -> f b
map = fmap
uncons :: [a] -> Maybe (a, [a])
uncons [] = Nothing
uncons [] = Nothing
uncons (x:xs) = Just (x, xs)
unsnoc :: [x] -> Maybe ([x],x)