Macfly.Caveat protocol (macfly v0.2.10)

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec body(t()) :: any()
Link to this function

from_body(v, body, o)

@spec from_body(t(), any(), Macfly.Options.t()) :: {:ok, t()} | {:error, String.t()}
@spec type(t()) :: integer()