[Haskell-beginners] Value from Monad
Brandon Allbery
allbery.b at gmail.com
Wed Apr 22 15:28:16 UTC 2015
On Wed, Apr 22, 2015 at 11:24 AM, Shishir Srivastava <
shishir.srivastava at gmail.com> wrote:
> return str++"4"::Maybe String
>
This is parsed as "(return str) ++ "4". Function application is always
higher precedence than operators.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150422/a89d23ab/attachment.html>
More information about the Beginners
mailing list