View Source Macfly.Caveat protocol (macfly v0.2.19)

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()
@spec from_body(t(), any(), Macfly.Options.t()) :: {:ok, t()} | {:error, String.t()}
@spec name(t()) :: String.t()
@spec type(t()) :: integer()