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.

Source

Summary

impl_for!(data)
impl_for(data)
to_char_list(thing)

Types

t :: term

Functions

impl_for(data)

Specs:

  • impl_for(term) :: module | nil
Source
impl_for!(data)

Specs:

  • impl_for!(term) :: module | no_return
Source
to_char_list(thing)
Source