Pointfree Exercises in Haskell Trail

something :: a -> b -> c

Is a function that takes a as its first argument, and returns a function that then takes b as its second argument, producing c.

Close!

It’s a function that takes a as its only argument and returns a function that takes b as its only argument. All fns in Haskell take only a single argument.

There are at least two ways to write this in point-free style. I’d prefer to use this: http://haddocks.fpcomplete.com/fp/7.8/20140916-162/base/Prelude.html#v:flip

See if you can figure that out. If not, ping me and I’ll help.