mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 11:56:54 +03:00
Merge pull request #604 from HigherOrderCO/with-fun-undefer-docs
Fix the monadic example using `with` for fun syntax
This commit is contained in:
commit
70944db468
@ -1015,7 +1015,7 @@ match x {
|
||||
### With block
|
||||
|
||||
```rust
|
||||
Result/bind (Result/Ok val) nxt = (nxt val)
|
||||
Result/bind (Result/Ok val) nxt = ((undefer nxt) val)
|
||||
Result/bind err _nxt = err
|
||||
|
||||
div a b = switch b {
|
||||
|
Loading…
Reference in New Issue
Block a user