arity

gapt.expr.ty.arity
object arity

Attributes

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

Members list

Value members

Concrete methods

def apply(t: Ty): Int

Retrieves the arity of the given type.

Retrieves the arity of the given type.

Value parameters

t

The type whose arity is to be computed.

Attributes

Returns

The arity of the functions represented by this type.

Source
arity.scala
def apply(e: Expr): Int

Retrieves the expression's arity.

Retrieves the expression's arity.

Value parameters

e

The expression whose arity is to be computed.

Attributes

Returns

The arity of the given expression, that is, the arity of the expression's type.

Source
arity.scala