Skip to content

Instantly share code, notes, and snippets.

@gregberns
Last active March 31, 2022 12:34
Show Gist options
  • Save gregberns/9584186943eca57624758893c3be1f9d to your computer and use it in GitHub Desktop.
Save gregberns/9584186943eca57624758893c3be1f9d to your computer and use it in GitHub Desktop.
FP Refactor

Rewrite this function to be as succinct as possible! (Hint: One function needed and an In-Fix Operator)

(a, b) => doStuff(_ => a, b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment