mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-17 14:47:21 +03:00
Update pattern-matching.md
This commit is contained in:
parent
65e3138ae4
commit
ee0de3e6de
@ -44,7 +44,7 @@ UnwrapOrZero x = (x λx.val x.val 0)
|
||||
|
||||
Currently, if you want to readback the adt constructors and matches after running a program as constructors and matches and not as lambda terms, you have to use `-Oadt-tagged-scott`.
|
||||
The tags are used to decode which ADT the lambda term refers to, but having them means that if you want to write your own function to operate on these tagged structures your functions have to either use the `match` syntax or use the tags correctly themselves.
|
||||
You can read more about tagged lambdas and applications in [Automatic vectorization with tagged lambdas](automatic-vectorization-with-tagged-lambdas.md).
|
||||
You can read more about tagged lambdas and applications in [Automatic vectorization with tagged lambdas](/doc/automatic-vectorization-with-tagged-lambdas.md).
|
||||
|
||||
|
||||
### Pattern Matching functions
|
||||
|
Loading…
Reference in New Issue
Block a user