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

Safe HaskellNone
LanguageHaskell98

Agda.Syntax.Internal.Generic

Contents

Synopsis

Documentation

class TermLike a where Source

Methods

traverseTerm :: (Term -> Term) -> a -> a Source

traverseTermM :: (Monad m, Applicative m) => (Term -> m Term) -> a -> m a Source

foldTerm :: Monoid m => (Term -> m) -> a -> m Source

Constants

Functors

Real terms

copyTerm :: (TermLike a, Applicative m, Monad m) => a -> m a Source

Put it in a monad to make it possible to do strictly.