
14 May
2013
14 May
'13
5:21 a.m.
Hi there, 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? TIA, Adrian.