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 dasher_protocol.ex
Raw

lib/protocols/dasher_protocol.ex

defprotocol Digger.Dasher.Protocol do
@moduledoc """
This protocol defines the API for functions which take a valid Elixir data type as input.
"""
@fallback_to_any true
alias Digger.Types
@doc """
Dasherize first letter of the data type
"""
@spec dasherize(Types.data_type) :: Types.valid_return_type
def dasherize(data_type)
end