Elixir v1.1.1 List.Chars protocol

The List.Chars protocol is responsible for converting a structure to a list (only if applicable). The only function required to be implemented is to_char_list which does the conversion.

The to_char_list function automatically imported by Kernel invokes this protocol.

Summary

Types

t :: term

Functions

to_char_list(thing)