Juggernaut.Operators.Registry (Juggernaut v0.4.0)

Copy Markdown View Source

The operator family modules, one per name in Juggernaut.Operators.Catalog, in registry order (design notes §8.1). A family :string_call is the module Juggernaut.Operators.StringCall.

Summary

Functions

The module implementing family.

The modules of families (default: all), in registry order.

The 0-based registry position of family.

The variant labels of family ([] for an unknown name).

Functions

module(family)

@spec module(atom()) :: module()

The module implementing family.

modules(families \\ Catalog.families())

@spec modules([atom()]) :: [module()]

The modules of families (default: all), in registry order.

order(family)

@spec order(atom()) :: non_neg_integer()

The 0-based registry position of family.

variants(family)

@spec variants(atom()) :: [String.t()]

The variant labels of family ([] for an unknown name).