Idris2/tests/idris2/data/record013/Issue1945.idr
2023-09-07 14:57:22 +01:00

13 lines
222 B
Idris

-- this works
aNat : {default Z theNat : Nat} -> Nat
aNat = theNat
-- this does too, now (but did not work before)
record ANat where
constructor MkANat
{default Z theNat : Nat}
-- let's try out
ex : ANat
ex = MkANat