adrian.alexander.may at gmail.com
Tue May 14 11:21:44 CEST 2013
I have a really annoying scrap of code:
unmaybe Nothing = mempty
unmaybe (Just dia) = dia
It happened because I'm using Diagrams but building my diagram requires
looking something up in a list using findIndex, which returns Maybe Int.
How do I rid myself of this blotch?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners