Skip to content

Instantly share code, notes, and snippets.

@phile314
Created June 15, 2015 16:28
Show Gist options
  • Save phile314/0a7711a9848b9a81f6f2 to your computer and use it in GitHub Desktop.
Save phile314/0a7711a9848b9a81f6f2 to your computer and use it in GitHub Desktop.
ReflApp
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