mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 07:02:24 +03:00
b57b28a64e
Add syntax for bind-all-explicits Add new record update syntax Remove PInstance
7 lines
103 B
Idris
7 lines
103 B
Idris
record Is3 (n : Nat) where
|
|
constructor MkThree
|
|
{auto prf : n === 3}
|
|
|
|
three : Is3 3
|
|
three = MkThree
|