Skip to content

Instantly share code, notes, and snippets.

@jrsonline
Created January 26, 2018 23:00
Show Gist options
  • Save jrsonline/3b423ba8f1fe8f6baa0078979f572eed to your computer and use it in GitHub Desktop.
Save jrsonline/3b423ba8f1fe8f6baa0078979f572eed to your computer and use it in GitHub Desktop.
Not My Functor either
protocol Functor : Sequence<Element> {
func fmap<S>(_ transform:(Element) -> S) -> Self<S>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment