Permit.Operators (permit v0.3.0)

View Source

Represents the list of operators for usage in defining permission conditions, for example Permit.Operators.Eq defines the equality operator usable as :== or alternatively :eq, with given semantics.

Part of the private API, subject to changes and not to be used on the application level.

Summary

Functions

all()

(macro)

eq()

(macro)

eq_operators()

(macro)

get(operator)

@spec get(atom()) :: {:ok, module()} | :error

with_options()

(macro)