1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/tests/positive/Termination/issue2414.juvix
2023-10-06 12:09:15 +02:00

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;