View Source Makina.Types (makina v0.2.1)

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.

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.