Commit graph

5 commits

Author SHA1 Message Date
ammkrn
efb533fb24
doc: document some do block patterns/sugar 2022-02-07 20:50:15 +01:00
Leonardo de Moura
483f32edd8 feat: in pure code, do use assume Id monad at do notation
This feature produced counterintuitive behavior and confused users.
See discussion at #770.

As pointed out by @tydeu, it is not too much work to write `Id.run <|`
before the `do` when we want to use the `do` notation in pure code.

closes #770
2021-12-10 12:55:14 -08:00
WojciechKarpiel
deb9c9410d doc: fix typo in the manual
Fix for a simple typo (`it behave` -> `it behaves`, `continue` -> `break`)
2021-07-10 10:35:51 +02:00
Leonardo de Moura
acfdd7d5b7 fix: doc
Example only works with `defaultInstance` for `ToString`.
2020-12-19 23:06:04 -08:00
Leonardo de Moura
9608ea5aef doc: do notation 2020-11-22 16:15:33 -08:00