mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +03:00
13 lines
161 B
Idris
13 lines
161 B
Idris
import Language.Reflection
|
|
|
|
x : TTImp
|
|
x = `(with Prelude.Nil [])
|
|
|
|
%language ElabReflection
|
|
|
|
x' : Elab (List Nat)
|
|
x' = check x
|
|
|
|
l : List Nat
|
|
l = 1 :: %runElab x'
|