idris
IRTS.Simplified
data SExp Source
Constructors
Instances
data SAlt Source
data SDecl Source
hvar :: State (DDefs, Int) IntSource
ldefs :: State (DDefs, Int) DDefsSource
simplify :: Bool -> DExp -> State (DDefs, Int) SExpSource
sVar :: DExp -> StateT (DDefs, Int) Identity (LVar, Maybe SExp)Source
mkapp :: Monad m => ([LVar] -> SExp) -> [(LVar, Maybe SExp)] -> m SExpSource
mkfapp :: Monad m => ([(t, LVar)] -> SExp) -> [(t, (LVar, Maybe SExp))] -> m SExpSource
sAlt :: Bool -> DAlt -> StateT (DDefs, Int) Identity SAltSource
checkDefs :: DDefs -> [(Name, DDecl)] -> TC [(Name, SDecl)]Source
lvar :: (Ord s, MonadState s m) => s -> m ()Source
scopecheck :: DDefs -> [(Name, Int)] -> SExp -> StateT Int TC SExpSource