Skip to content

Instantly share code, notes, and snippets.

@hanshoglund
Last active April 29, 2019 23:11
Show Gist options
  • Save hanshoglund/fb95c7595f185a06afaf19a3f9d82626 to your computer and use it in GitHub Desktop.
Save hanshoglund/fb95c7595f185a06afaf19a3f9d82626 to your computer and use it in GitHub Desktop.
fmap
> let f = fmap > :t (f f f f) (f f) (f f) (f f f f)
> let f = flip > :t (f f f f) (f f) (f f) (f f f f)
> let f = (.) > :t (f f f f) (f f) (f f) (f f f f)
> :t (f f f f) (f f) (f f) (f f f f)
> :t (f f)
> :t (f f f)
> :t f (f f) (f f) f
> :t f (f f) ((f f) f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment