Algebraic and logical functions for basic types. tml::to_string. to_string implementation for basic types and tml::list