mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
Some more jargon to be defined.
...
This commit is contained in:
parent
2d9af62849
commit
d58b79e839
1 changed files with 24 additions and 13 deletions
37
readme.md
37
readme.md
|
|
@ -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
|
||||
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue