Skip to content
GitLab
Explore
Sign in
Register
Changes
Page history
suggested toMaybe
authored
Dec 02, 2005
by
ravi@bluespec.com
Show whitespace changes
Inline
Side-by-side
minor-library-changes.md
View page @
9722f4ad
...
...
@@ -22,3 +22,8 @@ replicateM, replicateM_, repeatM, repeatM_
readM :: (Read a, Monad m) => String -> m a
readM = ...
```
toMaybe :: Bool → a → Maybe a (added to Maybe library)