mirror of
https://github.com/anoma/juvix.git
synced 2024-12-01 00:04:58 +03:00
38622b28d1
- Closes #1637. A function type signature is now allowed to have a body. This is valid for both top level and let definitions. ``` not : Bool -> Bool := λ { | true := false | false := true }; ```
11 lines
92 B
Plaintext
11 lines
92 B
Plaintext
module DuplicateClause;
|
|
|
|
axiom T : Type;
|
|
|
|
id : T → T := λ {
|
|
t := t
|
|
};
|
|
id t := t;
|
|
|
|
end;
|