Untitled notebook
Section
defprotocol Utility do
  @spec type(t) :: String.t()
  def type(value)
enddefimpl Utility, for: BitString do
  def type(_value), do: "string"
end
defimpl Utility, for: Integer do
  def type(_value), do: "integer"
endUtility.type("string")
Utility.type(123)
Utility.type([])