Open in app
John Tucker
4.2K Followers
About

Sign in

4.2K Followers
About
Open in app
Can you provide more life examples about functors?
2

4rontender (Rinat Valiullov)

John Tucker

John Tucker

Jan 25, 2018·1 min read

To honest, I am also new to the functor pattern myself. The most common real-world example (at least claimed to be) is the Maybe functor. The following referenced article goes into some detail on this.
http://mattfield.github.io/javascript/2013/07/28/taking-things-out-of-context-functors-in-javascript/

Written by

John Tucker

Broad infrastructure, development, and soft-skill background

More from John Tucker

Broad infrastructure, development, and soft-skill background

More From Medium

Prometheus by Example

John Tucker in codeburst

Grafana by Example

John Tucker in codeburst

Spinnaker by Example: Part 1

John Tucker in codeburst

Google Kubernetes Engine Logging by Example

John Tucker in codeburst

Google Cloud Authentication by Example

John Tucker in codeburst

Puppet Code by Example: Part 1

John Tucker in codeburst

Spinnaker by Example: Part 2

John Tucker in codeburst

Puppet Code by Example: Part 3

John Tucker in codeburst

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store