Dx.Evaluation (dx v0.3.5)

View Source

Holds run options and already loaded data passed between Dx.Defd-defined functions according to the token pattern in Elixir.

This is also used in the now deprecated infer approach of Dx.

Summary

Types

t()

@type t() :: %Dx.Evaluation{
  args: map(),
  binds: map(),
  cache: any(),
  debug?: boolean(),
  extra_rules: [module()],
  finalize?: boolean(),
  loader: module(),
  loader_options: Keyword.t(),
  negate?: boolean(),
  resolve_predicates?: boolean(),
  return_cache?: boolean(),
  root_subject: map()
}

Functions

add_options(eval, opts)

from_options(opts)