[Haskell-cafe] Proposal: (.:) operator in base.

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Tue Aug 23 07:09:19 UTC 2016


On Mon, Aug 22, 2016 at 10:23:07PM -0700, wren romano wrote:
>     (.) f g = \x -> f (g x)
> 
> vs:
> 
>     (.) f g x = f (g x)
> 
> has ramifications, though it's fairly easy to guess which one of those
> two will be most performant.

Are these not synonyms?  What is the meaning of

    fargs var = expr

if not

    fargs = \var -> expr

?


More information about the Haskell-Cafe mailing list