isConstructorForm

gapt.expr.util.isConstructorForm

Attributes

Source
utils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(term: Expr)(implicit ctx: Context): Boolean

Checks whether a term is in constructor form.

Checks whether a term is in constructor form.

Value parameters

ctx

The context which defines inductive types, etc.

term

The term that is to be checked.

Attributes

Returns

true if the term is in constructor form, false otherwise.

Source
utils.scala