Skip to content

Commit

Permalink
Update docs/pattern-matching.md
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Abril <nicolas.abril@protonmail.ch>
  • Loading branch information
In-Veritas and developedby authored Jan 31, 2025
1 parent 15b3149 commit ea2f3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ UnwrapOrZero x = (x λtag switch tag {

# Otherwise, if the current encoding is 'adt-scott' it becomes:
Maybe/Some = λval λMaybe/Some λMaybe/None (Maybe/Some val)
Maybe/None = λMaybe/Some λMaybe/None None
Maybe/None = λMaybe/Some λMaybe/None Maybe/None
UnwrapOrZero x = (x λx.val x.val 0)
```

Expand Down

0 comments on commit ea2f3c1

Please sign in to comment.