1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 23:43:01 +03:00
juvix/tests/negative/BindGroupConflict/Lambda.juvix
Łukasz Czajka 2baad15a41 Remove old function syntax (#2305)
* Enables new function syntax in local let-declarations
* Closes #2251
2023-08-24 16:24:47 +02:00

8 lines
181 B
Plaintext

module Lambda;
type Pair (a : Type) (b : Type) := mkPair : a → b → Pair a b;
fst : (a : Type) → (b : Type) → Pair a b → a := λ { _ _ (mkPair _ _ x x) := x };
end;