mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
16 lines
305 B
Idris
16 lines
305 B
Idris
import Language.Reflection
|
|
|
|
%language ElabReflection
|
|
|
|
data_decl : List Decl
|
|
data_decl = `[data T = A | B]
|
|
|
|
record_decl : List Decl
|
|
record_decl = `[record R where]
|
|
|
|
data_decl' : List Decl
|
|
data_decl' = `[public export data T = A | B]
|
|
|
|
record_decl' : List Decl
|
|
record_decl' = `[public export record R where]
|