eta.util.sexpr.list_to_str

list_to_str(lst)[source]

Convert an S-expression list structure to a flattened string containing each of the symbols.

Parameters:

lst (s-expr) – An S-expression in recursively nested list form, e.g., ['a', ['b', ['c', 'd']], 'e'].

Returns:

A flattened string containing each of the symbols, e.g., "a b c d e".

Return type:

str