[Haskell-beginners] Preorder function application
OxFord
fordforox at gmail.com
Mon Jul 4 07:43:41 UTC 2016
Hello,
why Haskell doesn't apply functions in preorder?
e.g.
f x = x
max 1 f 2
> 2
max f 1 f 2
> 2
max max f 1 f 2 f 3
> 3
f f f f f f f f f f f 1
> 1
Thus you would need to put the arguments into brackets only when you want
to partially apply that function.
Is the current method more readable or error prone?
King regards,
Ford
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160704/ee852d00/attachment.html>
More information about the Beginners
mailing list