mirror of
https://github.com/anoma/juvix.git
synced 2024-11-30 14:13:27 +03:00
feb422d445
* Closes #3041 * The old syntax without `@` is still accepted, but the formatter changes it to the new syntax
11 lines
138 B
Plaintext
11 lines
138 B
Plaintext
module issue2414;
|
|
|
|
import Stdlib.Prelude open;
|
|
|
|
trait
|
|
type T := mkT@{tt : T};
|
|
|
|
f {{T}} : Nat → Nat
|
|
| zero := zero
|
|
| (suc n) := f n;
|