Agda-2.6.1.3: A dependently typed functional programming language and proof assistant
Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.Common

Synopsis

Documentation

data IsMain Source #

Constructors

IsMain 
NotMain 

Instances

Instances details
Eq IsMain Source # 
Instance details

Defined in Agda.Compiler.Common

Methods

(==) :: IsMain -> IsMain -> Bool #

(/=) :: IsMain -> IsMain -> Bool #

Show IsMain Source # 
Instance details

Defined in Agda.Compiler.Common

Semigroup IsMain Source #

Conjunctive semigroup (NotMain is absorbing).

Instance details

Defined in Agda.Compiler.Common

Monoid IsMain Source # 
Instance details

Defined in Agda.Compiler.Common

doCompile :: forall r. Monoid r => IsMain -> Interface -> (IsMain -> Interface -> TCM r) -> TCM r Source #

inCompilerEnv :: Interface -> TCM a -> TCM a Source #

Sets up the compilation environment.