- atom(X)
-
forces X to an atom. atoms will evaluate to themselves. Lists will recursively evaluate concatenations of their elements, with spaces between each element.
atom(foo) => foo
atom(5) => '5' TODO!!!
atom([a b c d / e f g h]) => 'a b c d/e f g h'
atom("a b c d (1+2)") => 'a b c d 3'
- qlist(X)
-
as atom(X), but inserts no spacers
- join(C L)
-
concatenates elements of L with C between each element
join('/' [a b c]) => 'a/b/c'
- split(C X)
-
splits an atom into a list using C as a separator
split('/','a/b/c') => [a b c]