mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-24 21:34:36 +03:00
6 lines
195 B
Plaintext
6 lines
195 B
Plaintext
|
1/1: Building defimp (defimp.idr)
|
||
|
Main> Main.dvec : (n : Nat) -> {default (replicate n (fromInteger 1)) xs : Vect n Nat} -> Nat
|
||
|
Main> S (S (S Z))
|
||
|
Main> S (S (S (S (S (S Z)))))
|
||
|
Main> Bye for now!
|