10000 Update README.md · bitnom/functional-jargon-python@3506f1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3506f1b

Browse files
authored
Update README.md
1 parent f13f042 commit 3506f1b

File tree

1 file changed

+26
-38
lines changed

1 file changed

+26
-38
lines changed

README.md

Lines changed: 26 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ __Table of Contents__
2626
* [Category (TODO)](#category-todo)
2727
* [Value (TODO)](#value-todo)
2828
* [Constant (TODO)](#constant-todo)
29-
* [Functor (TODO)](#functor-todo)
30-
* [Pointed Functor (TODO)](#pointed-functor-todo)
3129
* [Lift (TODO)](#lift-todo)
3230
* [Referential Transparency (TODO)](#referential-transparency-todo)
3331
* [Equational Reasoning (TODO)](#equational-reasoning-todo)
3432
* [Lambda (TODO)](#lambda-todo)
3533
* [Lambda Calculus (TODO)](#lambda-calculus-todo)
3634
* [Lazy evaluation (TODO)](#lazy-evaluation-todo)
35+
* [Functor (TODO)](#functor-todo)
36+
* [Applicative (TODO)](#applicative-todo)
37+
* [Applicative Functor (TODO)](#applicative-functor-todo)
3738
* [Monoid (TODO)](#monoid-todo)
3839
* [Monad (TODO)](#monad-todo)
3940
* [Comonad (TODO)](#comonad-todo)
40-
* [Applicative Functor (TODO)](#applicative-functor-todo)
4141
* [Morphism (TODO)](#morphism-todo)
4242
* [Endomorphism (TODO)](#endomorphism-todo)
4343
* [Isomorphism (TODO)](#isomorphism-todo)
@@ -58,7 +58,6 @@ __Table of Contents__
5858
* [Option (TODO)](#option-todo)
5959
* [Function (TODO)](#function-todo)
6060
* [Partial function (TODO)](#partial-function-todo)
61-
* [Functional Programming Libraries in Python](#functional-programming-libraries-in-python)
6261

6362

6463
<!-- /RM -->
@@ -282,34 +281,6 @@ Constants are [referentially transparent](#referential-transparency). That is, t
282281
# TODO
283282
```
284283

285-
## Functor (TODO)
286-
287-
An object that implements a `map` function which, while running over each value in the object to produce a new object, adheres to two rules:
288-
289-
__Preserves identity__
290-
```
291-
object.map(x => x) ≍ object
292-
```
293-
294-
__Composable__
295-
296-
```
297-
object.map(compose(f, g)) ≍ object.map(g).map(f)
298-
```
299-
300-
```python
301-
# TODO
302-
```
303-
304-
## Pointed Functor (TODO)
305-
306-
An object with an `of` function that puts _any_ number of values into it. The following property
307-
`of(f(x)) == of(x).map(f)` must also hold for any pointed functor.
308-
309-
```python
310-
# TODO
311-
```
312-
313284
## Lift (TODO)
314285

315286
Lifting is when you take a value and put it into an object like a [functor](#pointed-functor). If you lift a function into an [Applicative Functor](#applicative-functor) then you can make it work on values that are also in that functor.
@@ -376,6 +347,29 @@ Lazy evaluation is a call-by-need evaluation mechanism that delays the evaluatio
376347
# TODO
377348
```
378349

350+
## Functor (TODO)
351+
352+
An object that implements a `map` function which, while running over each value in the object to produce a new object, adheres to two rules:
353+
354+
__Preserves identity__
355+
```
356+
object.map(x => x) ≍ object
357+
```
358+
359+
__Composable__
360+
361+
```
362+
object.map(compose(f, g)) ≍ object.map(g).map(f)
363+
```
364+
365+
```python
366+
# TODO
367+
```
368+
369+
## Applicative (TODO)
370+
371+
## Applicative Functore (TODO)
372+
379373
## Monoid (TODO)
380374

381375
An object with a function that "combines" that object with another of the same type.
@@ -590,9 +584,3 @@ Fortunately a partial function can be converted to a regular (or total) one. We
590584
```python
591585
# TODO
592586
```
593-
594-
## Functional Programming Libraries in Python
595-
596-
### In This Doc (TODO)
597-
598-
A comprehensive curated list of functional programming libraries for Python can be found [here](https://github.com/sfermigier/awesome-functional-python)

0 commit comments

Comments
 (0)
0