View Source Makina.Types (Makina v0.3.0)

Provides definitions for types common to all Makina models.

Link to this section Summary

Types

Represents a PBT generator.

Represents a symbolic call.

Represents a symbolic expression.

Represents a symbolic var.

Represents an unknown type.

Link to this section Types

@type generator(a) :: a | any()

Represents a PBT generator.

@type symbolic_call() ::
  {:call, atom(), atom(), list()} | {:call, atom(), atom(), list(), any()}

Represents a symbolic call.

@type symbolic_expr() :: symbolic_var() | symbolic_call()

Represents a symbolic expression.

@type symbolic_var() :: {:var, pos_integer()}

Represents a symbolic var.

@type unknown() :: any()

Represents an unknown type.