Skip to content

Instantly share code, notes, and snippets.

@PavelZaytsev
Created December 2, 2018 00:06
Show Gist options
  • Save PavelZaytsev/d0fcf06294ba2fec907aa9243a2eea67 to your computer and use it in GitHub Desktop.
Save PavelZaytsev/d0fcf06294ba2fec907aa9243a2eea67 to your computer and use it in GitHub Desktop.
def f1[A, B]: A => B
def f2[B, C]: B => C
def f3[C, D]: C => D
f1 compose(f2 compose f3) === (f1 compose f2) compose f3 === f1 compose f2 compose f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment