Damus
nostrich profile picture
nostrich
Hey #Haskell folks, I have a simple problem that I just can't sort out.

I want a point-free function that does a subtraction, then returns the absolute value of that.

I wrote (abs . (-)) but that tries to apply abs to a partially applied (-). Anyways I'm stuck.
1
Mal Umbra · 63w
curry (abs . uncurry (-)) ?