mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
13 lines
221 B
Idris
13 lines
221 B
Idris
|
import Language.Reflection
|
||
|
|
||
|
%language ElabReflection
|
||
|
|
||
|
elabTry : Elab ()
|
||
|
elabTry
|
||
|
= try (declare `[ x : 94
|
||
|
x = 94 ])
|
||
|
(declare `[ x : Int
|
||
|
x = 94 ])
|
||
|
|
||
|
%runElab elabTry
|