darcs patch: Add justIf to Data.Maybe
Joachim Breitner
mail at joachim-breitner.de
Sat Aug 22 12:10:23 EDT 2009
Hi,
Am Samstag, den 22.08.2009, 16:10 +0100 schrieb Duncan Coutts:
> In this use case the result is typically a lot bigger than the
> condition, so the condition goes first rather than last.
At first I wrote justIf this way (justIf cond $ value), and then noticed
the how nice "value `justIf` cond" sounds when read out aloud. I’m fine
with either order, and your point about argument size is a valid one.
Greetings,
Joachim
--
Joachim Breitner
e-Mail: mail at joachim-breitner.de
Homepage: http://www.joachim-breitner.de
ICQ#: 74513189
Jabber-ID: nomeata at joachim-breitner.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.haskell.org/pipermail/libraries/attachments/20090822/b56b3c14/attachment.bin
More information about the Libraries
mailing list