[Haskell-beginners] Using Show

Shishir Srivastava shishir.srivastava at gmail.com
Wed Apr 15 12:47:49 UTC 2015


hi,

I am trying to naively print an applicative functor using 'show' like this
-

show (pure (+) <*> [1, 2, 3])

I know there is something fundamentally wrong with that expression but not
sure what.

Can anyone please point it out.

Thanks,
Shishir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150415/e3a23932/attachment.html>


More information about the Beginners mailing list