What is Nostr?
J3RN :fedora: :elixir: :emacs: /
npub1a67…qhg7
2024-12-02 21:35:43

J3RN :fedora: :elixir: :emacs: on Nostr: Hey #Haskell folks, I have a simple problem that I just can't sort out. I want a ...

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.
Author Public Key
npub1a673fkpvw5s632ydeppgr760z3q6cuwsys05ur068ag93gdqw6cqraqhg7