Skip to content

Instantly share code, notes, and snippets.

@dbrack
Last active July 19, 2017 13:26
Show Gist options
  • Select an option

  • Save dbrack/a7dc3dbd1e4ff8ed375f to your computer and use it in GitHub Desktop.

Select an option

Save dbrack/a7dc3dbd1e4ff8ed375f to your computer and use it in GitHub Desktop.

Revisions

  1. dbrack revised this gist Jul 19, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    `objects` that implement `map` are **functors**. So, `Array` is a *functor*, and `Array.filter` is a *higher order function*
    `objects` that implement `map` are *functors*. So, `Array` is a *functor*, and `Array.filter` is a *higher order function*

    **abstract**

  2. dbrack revised this gist Jul 19, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*, and `Array.filter` is a *higher order function*
    `objects` that implement `map` are **functors**. So, `Array` is a *functor*, and `Array.filter` is a *higher order function*

    **abstract**

  3. dbrack revised this gist May 17, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@

    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.

    [See also here] (http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)
    [See also here](http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)
  4. dbrack revised this gist Oct 5, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*
    `objects` that implement `map` are functors. So, `Array` is a *functor*, and `Array.filter` is a *higher order function*

    **abstract**

  5. dbrack revised this gist Mar 13, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@

    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.

    [See also] (http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)
    [See also here] (http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)
  6. dbrack revised this gist Mar 13, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@

    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.

    See also [http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html]
    [See also] (http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html)
  7. dbrack revised this gist Mar 13, 2016. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -2,4 +2,6 @@

    **abstract**

    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.
    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.

    See also [http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html]
  8. dbrack revised this gist Mar 13, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*

    **a little more abstract**
    **abstract**

    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.
    a functor is an object which acts as a container for a value, which then allows you to **APPLY** one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.
  9. dbrack revised this gist Mar 13, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*

    *a little more abstract*
    **a little more abstract**

    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an Array) containing the transformed value.
    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an `Array`) containing the transformed value.
  10. dbrack revised this gist Mar 13, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion functor-definition.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*

    a little more abstract..
    *a little more abstract*

    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an Array) containing the transformed value.
  11. dbrack renamed this gist Mar 13, 2016. 1 changed file with 0 additions and 1 deletion.
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,5 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*


    a little more abstract..

    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an Array) containing the transformed value.
  12. dbrack renamed this gist Mar 13, 2016. 1 changed file with 0 additions and 0 deletions.
  13. dbrack created this gist Mar 13, 2016.
    6 changes: 6 additions & 0 deletions Functors and Higher Order Functions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    `objects` that implement `map` are functors. So, `Array` is a *functor*. and `Array.filter` is a *higher order function*


    a little more abstract..

    a functor is an object which acts as a container for a value, which then allows you to *APPLY* one or more functions to that value, and returns a new functor (in case of `.map()`, an Array) containing the transformed value.