Skip to content

Instantly share code, notes, and snippets.

@evaporei
Created September 13, 2019 19:51
Show Gist options
  • Select an option

  • Save evaporei/2b32649174ebf6cd3a0624d0563de39f to your computer and use it in GitHub Desktop.

Select an option

Save evaporei/2b32649174ebf6cd3a0624d0563de39f to your computer and use it in GitHub Desktop.
Category Theory - Functors
interface Functor<A> {
fmap<B>(f: (a: A) => B): Functor<B>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment