You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only Constructors that we compile to hugr are True and False, as a proof of concept.
We could easily compile other constructors to ops in the brat hugr extension using the existing BRAT::Constructor type op.
It would also be nice to compile vector patterns, including literals!
The text was updated successfully, but these errors were encountered:
Allow lambda expressions to have multiple clauses employing pattern
matching logic just like what is done for top level definitions. This
improves expressiveness as previously we couldn't pattern match in
kernels that were defined as lambdas created by classical functions.
These multi-clause lambda expressions - "multilambdas" - are parsed
inside curly braces, as many lambda expressions separated by a `|`.
Closes#8, #17
---------
Co-authored-by: Alan Lawrence <alan.lawrence@quantinuum.com>
The only Constructors that we compile to hugr are
True
andFalse
, as a proof of concept.We could easily compile other constructors to ops in the brat hugr extension using the existing
BRAT::Constructor
type op.It would also be nice to compile vector patterns, including literals!
The text was updated successfully, but these errors were encountered: