mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
dbba32ea09
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org> Co-authored-by: Denis Buzdalov <public@buzden.ru>
11 lines
133 B
Idris
11 lines
133 B
Idris
import Language.Reflection
|
|
|
|
%default total
|
|
|
|
f : TTImp -> Elab Nat
|
|
f _ = pure 5
|
|
|
|
%language ElabReflection
|
|
|
|
x = %runElab quote 4 >>= f
|