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

Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.Treeless.Subst

Contents

Synopsis

Documentation

newtype SeqArg #

Constructors

SeqArg All 
Instances
Eq SeqArg # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

Ord SeqArg # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Show SeqArg # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Semigroup SeqArg # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Monoid SeqArg # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

data Occurs #

Instances
Eq Occurs # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

Ord Occurs # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Show Occurs # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Semigroup Occurs # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Monoid Occurs # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

class HasFree a where #

Minimal complete definition

freeVars

Methods

freeVars :: a -> Map Int Occurs #

Instances
HasFree Int # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: Int -> Map Int Occurs #

HasFree TAlt # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: TAlt -> Map Int Occurs #

HasFree TTerm # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: TTerm -> Map Int Occurs #

HasFree a => HasFree [a] # 
Instance details

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: InSeq a -> Map Int Occurs #

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

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: Binder a -> Map Int Occurs #

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

Defined in Agda.Compiler.Treeless.Subst

Methods

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

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

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

data Binder a #

Constructors

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

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: Binder a -> Map Int Occurs #

newtype InSeq a #

Constructors

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

Defined in Agda.Compiler.Treeless.Subst

Methods

freeVars :: InSeq a -> Map Int Occurs #

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

Strenghtening.

Orphan instances

DeBruijn TTerm # 
Instance details

Subst TTerm TAlt # 
Instance details

Subst TTerm TTerm # 
Instance details