mirror of
https://github.com/anoma/juvix.git
synced 2024-12-03 09:41:10 +03:00
98b3621ae1
- Closes #2269 Example: ``` type Sum (A B : Type) := | inj1 { fst : A; snd : B } | inj2 { fst : A; snd2 : B }; sumSwap {A B : Type} : Sum A B -> Sum B A | inj1@{fst; snd := y} := inj2 y fst | inj2@{snd2 := y; fst := fst} := inj1 y fst; ``` |
||
---|---|---|
.. | ||
Negative.hs | ||
Positive.hs |