term.list module

class term.list.ImproperList(elements: list, tail)

Bases: object

A simple data holder used to pass improper lists back to Erlang. An Erlang improper list looks like [1, 2, 3 | 4] where 4 takes tail slot of last list cell instead of NIL. This is a rare data type and very likely you will not ever need it.

term.list.list_to_str(lst: list) → str

A helper function to convert a list of bytes (0..255) into an ASCII string.

term.list.list_to_unicode_str(lst: list) → str

A helper function to convert a list of large integers incoming from Erlang into a unicode string.