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

lib/protocols/lower_caser_protocol.ex

defprotocol Digger.LowerCaser.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 """
Lowercase first letter of the data type
"""
@spec lowercase_first(Types.data_type) :: Types.valid_return_type
def lowercase_first(data_type)
end