@@ -13,7 +13,7 @@ import Control.Monad.State
13import Epic.Epic hiding (Term, Type, Name, fn, compile)
13import Epic.Epic hiding (Term, Type, Name, fn, compile)
14import qualified Epic.Epic as E
14import qualified Epic.Epic as E
16−primDefs = [UN "mkForeign", UN "FalseElim", UN "believe_me"]
16+primDefs = [UN "mkForeign", UN "FalseElim"]
18compile :: FilePath -> Idris ()
18compile :: FilePath -> Idris ()
19compile f = do ds <- mkDecls
19compile f = do ds <- mkDecls
@@ -61,8 +61,6 @@ instance ToEpic (TT Name) where
61 | (P _ (UN "lazy") _, [_, arg]) <- unApply tm
61 | (P _ (UN "lazy") _, [_, arg]) <- unApply tm
62 = do arg' <- epic' env arg
62 = do arg' <- epic' env arg
63 return $ lazy_ arg'
63 return $ lazy_ arg'
64− | (P _ (UN "believe_me") _, [_, _, arg]) <- unApply tm
66 | (P _ (UN "prim__IO") _, [_, v]) <- unApply tm
64 | (P _ (UN "prim__IO") _, [_, v]) <- unApply tm
67 = epic' env v
65 = epic' env v
68 | (P _ (UN "io_bind") _, [_,_,v,k]) <- unApply tm
66 | (P _ (UN "io_bind") _, [_,_,v,k]) <- unApply tm