Packages

A collection of helpers to operate on nested maps. See README for the complete list of helpers. The test suite is also helpful.

Current section

Files

Jump to
digger lib protocols atomizer_protocol.ex
Raw

lib/protocols/atomizer_protocol.ex

defprotocol Digger.Atomizer do
@moduledoc """
Documentation for Digger.Atomizer Protocol
"""
@fallback_to_any true
alias Digger.Types
@doc """
'Atomize' a valid Types.data_type according to the protocol implementation
"""
@spec atomize(Types.data_type, Types.string) :: Types.valid_return_type
def atomize(data_type, atomize \\ :atomize)
end