[Haskell-beginners] "Shortcut" for f (g x) (g x)

Baa aquagnu at gmail.com
Mon Dec 4 16:31:02 UTC 2017


Hello, All!

Does Haskell have some "short-form" for such call: `f (g x) (g x)`, for
example:

  compare (snd x) (snd x)

Looks like combinatory logic or `ap` but not exactly...

===
Best regards, Paul


More information about the Beginners mailing list