1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 14:13:27 +03:00
juvix/tests/positive/RecordProjectionSignature.juvix

12 lines
158 B
Plaintext
Raw Normal View History

module RecordProjectionSignature;
import Stdlib.Data.Nat open;
trait
type R A := mkR@{fun : (n : A) -> A};
f {{R Nat}} : Nat :=
R.fun@{
n := 1;
};