[Haskell-cafe] Proposal: (.:) operator in base.
hyarion at iinet.net.au
Tue Aug 23 07:19:38 UTC 2016
At the semantic level of "does my program compute correct results" they're identical. At the operational level of "how fast does my program run" they're different.
On August 23, 2016 5:09:19 PM GMT+10:00, Tom Ellis <tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:
>On Mon, Aug 22, 2016 at 10:23:07PM -0700, wren romano wrote:
>> (.) f g = \x -> f (g x)
>> (.) f g x = f (g x)
>> has ramifications, though it's fairly easy to guess which one of
>> two will be most performant.
>Are these not synonyms? What is the meaning of
> fargs var = expr
> fargs = \var -> expr
>Haskell-Cafe mailing list
>To (un)subscribe, modify options or view archives go to:
>Only members subscribed via the mailman list are allowed to post.
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe