[Haskell-beginners] Simplifying a 'split' function

Ben Sanders bwsanders at gmail.com
Wed Apr 29 16:12:07 EDT 2009

> How about map pure.  I do like the robot monkey though :)
> Bob

What is 'map pure'?
And it took me a minute to figure out where you were getting 'robot
monkey' from :)

> split = fmap return

Awesome!  Thanks!!

More information about the Beginners mailing list