Files
beginner-friendly-lang/tree-sitter/example.crr
2025-09-21 00:49:43 +02:00

8 lines
229 B
Plaintext

type t List = 'EOL | 'Cons {head: t, tail: t List}
type List2 = with t: 'EOL | 'Cons {head: t, tail: t List}
type List3 = with t: &a 'EOL | 'Cons {head: t, tail: a}
type List4 = with t: &a 'EOL Unit | 'Cons {head: t, tail: a}