Created
June 15, 2015 16:28
-
-
Save phile314/0a7711a9848b9a81f6f2 to your computer and use it in GitHub Desktop.
ReflApp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ReflApp where | |
open import Reflection | |
open import IO | |
open import Data.Unit | |
open import Data.List | |
import IO.Primitive | |
g : Term | |
g = app (lam visible (abs "x" (var 0 []))) [ (arg (arg-info visible relevant) (def (quote putStrLn) [ (arg (arg-info visible relevant) (quoteTerm "dfgdfg")) ])) ] | |
main : IO.Primitive.IO ⊤ | |
main = run (unquote g) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment