Agda
Safe HaskellNone
LanguageHaskell2010

Agda.TypeChecking.Lock

Synopsis

Documentation

checkLockedVars Source #

Arguments

:: Term

term to check

-> Type

its type

-> Arg Term

the lock

-> Type

type of the lock

-> TCM () 

checkEarlierThan :: Term -> VarSet -> TCM Bool Source #

If the first argument is a lock variable, check that all variables in the given set are either earlier than this variable or are timeless.