Skip to content

Commit c6bca6e

Browse files
authored
Update README.md
1 parent 9253430 commit c6bca6e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Constants are [referentially transparent](#referential-transparency-todo). That
515515

516516
## Lift (TODO)
517517

518-
Lifting is when you take a value and put it into an object like a [functor](#pointed-functor-todo). If you lift a function into an [Applicative Functor](#applicative-functor-todo) then you can make it work on values that are also in that functor.
518+
Lifting is when you take a value and put it into an object like a [Functor](#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.
519519

520520
Some implementations have a function called `lift`, or `liftA2` to make it easier to run functions on functors.
521521

@@ -633,7 +633,9 @@ An Applicative Functor is an object with `apply` and `.from_value` methods:
633633

634634
All Applicative Functors must also follow [a bunch of laws](https://returns.readthedocs.io/en/latest/pages/interfaces.html#applicative).
635635

636-
You can have a look at the real-life [`Applicative Functor` interface](https://github.com/dry-python/returns/blob/master/returns/interfaces/applicative.py).
636+
__Further reading:__
637+
638+
- [`Applicative Functor` interface docs](https://github.com/dry-python/returns/blob/master/returns/interfaces/applicative.py)
637639

638640

639641
## Monoid
@@ -661,7 +663,8 @@ Tuples, lists, and strings are also monoids:
661663

662664
## Monad (TODO)
663665

664-
A monad is an object with [`of`](#pointed-functor-todo) and `chain` functions. `chain` is like [`map`](#functor-todo) except it un-nests the resulting nested object.
666+
A monad is an [Applicative Functor](#applicative-functor) with `bind` method.
667+
`bind` is like [`map`](#functor) except it un-nests the resulting nested object.
665668

666669
```python
667670
# TODO

0 commit comments

Comments
 (0)