[darcs-users] darcs patch: small authorspellings fix (and 3 more)

Eric Kow kowey at darcs.net
Mon Feb 9 11:41:17 UTC 2009


On Mon, Feb 09, 2009 at 11:39:14 +0000, Eric Kow wrote:
> On Sun, Feb 08, 2009 at 16:08:30 -0800, Simon Michael wrote:
> > Incidentally I can't see how this works, since fmap and map both take  
> > two arguments.
 
> Ah, this is one of those places why programming in Haskell is fun!

And to follow up on this, a simpler explanation applies to fmap.
The backticks just let you use fmap in an infix fashion.
So instead of fmap f mfoo, we can write f `fmap` mfoo, or even
f <$> mfoo lest somebody decides it needs to be mentioned

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090209/e7ea8230/attachment.pgp>


More information about the darcs-users mailing list