Some more jargon to be defined.

...
This commit is contained in:
hemanth.hm 2015-03-02 18:26:31 +05:30
parent 2d9af62849
commit d58b79e839

View file

@ -62,6 +62,30 @@ partial(40); //=> 42
---
## Contracts
---
## Guarded Functions
---
## Categories
---
## Functor
> Structure that can be mapped over.
Simplest functor in javascript is an `Array`
```js
[2,3,4].map( function(n) {
return n + 2;
}); // [4,6,8]
```
---
## Referential Transparency
> An expression that can be replaced with its value without changing the
@ -86,19 +110,6 @@ referential transparent.
---
## Functor
> Structure that can be mapped over.
Simplest functor in javascript is an `Array`
```js
[2,3,4].map( function(n) {
return n + 2;
}); // [4,6,8]
```
---
## Applicative Functor
---