Skip to content

Instantly share code, notes, and snippets.

@plaidfinch
Last active January 4, 2016 14:49
Show Gist options
  • Save plaidfinch/8636894 to your computer and use it in GitHub Desktop.
Save plaidfinch/8636894 to your computer and use it in GitHub Desktop.
evaluate :: ComonadApply f => f (f b -> b) -> f b
evaluate fs = fix $ (fs <@>) . duplicate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment