Re: Re: Avoiding boilerplate retrieving GetOpt

27 Jul
2007
27 Jul
'07
9:59 a.m.
For starters, you could squish these down into something like
flagToString :: Flag -> Maybe String flagToString (Filter s) = Just s flagToString (DateFormat s) = Just s ... flagToString _ = Nothing
What am I saying?! This wouldn't work! Sorry for the noise. -- Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon français.
6554
Age (days ago)
6554
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eric Kow