SketchyLISP Reference |
Copyright (C) 2007 Nils M Holm |
<<[exists] | [Index] | [expt]>> |
Conformance: SketchyLISP Extension
Purpose: Explode a symbol into a list of symbols.
Arguments:
X - symbol
Implementation:
(define (explode x) (map (lambda (x) (string->symbol (string x))) (string->list (symbol->string x))))
Example:
(explode 'hello) => (h e l l o)
See also:
implode.
<<[exists] | [Index] | [expt]>> |