rvcas b6b52ba508 feat(backpassing): implements multi patterns
The main trick here was transforming Assignment
to contain `Vec<UntypedPattern, Option<Annotation>>`
in a field called patterns. This then meant that I
could remove the `pattern` and `annotation` field
from `Assignment`. The parser handles `=` and `<-`
just fine because in the future `=` with multi
patterns will mean some kind of optimization on tuples.
But, since we don't have that optimization yet, when
someone uses multi patterns with an `=` there will be an
error returned from the type checker right where `infer_seq`
looks for `backpassing`. From there the rest of the work
was in `Project::backpassing` where I only needed to rework
some things to work with a list of patterns instead of just one.
2024-03-12 08:10:33 -04:00
2024-03-09 20:44:51 +01:00
2023-02-07 13:16:17 +01:00
2023-10-04 17:09:18 -04:00
2024-03-08 19:19:07 -05:00
2024-01-25 11:07:18 -05:00
2023-05-23 10:40:26 -04:00
2024-02-15 14:47:53 -05:00

Aiken

A modern smart contract platform for Cardano

Licence Crates.io Tests


Installation

How to use

For more information please see the user manual.

Contributing

Want to contribute? See CONTRIBUTING.md to know how.


Note

The name comes from Howard Aiken, an American physicist and a pioneer in computing.

Stats

Alt

Description
No description provided
Readme 14 MiB
Languages
Rust 96.6%
JavaScript 1.1%
HTML 1%
CSS 0.9%
Shell 0.3%
Other 0.1%