Agda-2.5.3.20180526: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.Treeless.Subst

Contents

Synopsis

Documentation

newtype SeqArg Source #

Constructors

SeqArg All 
Instances
Eq SeqArg Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

Ord SeqArg Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Show SeqArg Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Semigroup SeqArg Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Monoid SeqArg Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

data Occurs Source #

Instances
Eq Occurs Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

Ord Occurs Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Show Occurs Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Semigroup Occurs Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Monoid Occurs Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

class HasFree a where Source #

Minimal complete definition

freeVars

Methods

freeVars :: a -> Map Int Occurs Source #

Instances
HasFree Int Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

HasFree TAlt Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

HasFree TTerm Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

HasFree a => HasFree [a] Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: [a] -> Map Int Occurs Source #

HasFree a => HasFree (InSeq a) Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

HasFree a => HasFree (Binder a) Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

(HasFree a, HasFree b) => HasFree (a, b) Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: (a, b) -> Map Int Occurs Source #

freeIn :: HasFree a => Int -> a -> Bool Source #

occursIn :: HasFree a => Int -> a -> Occurs Source #

data Binder a Source #

Constructors

Binder Int a 
Instances
HasFree a => HasFree (Binder a) Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

newtype InSeq a Source #

Constructors

InSeq a 
Instances
HasFree a => HasFree (InSeq a) Source # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

tryStrengthen :: (HasFree a, Subst t a) => Int -> a -> Maybe a Source #

Strenghtening.

Orphan instances