[plt-scheme] String -> listof symbols

From: Eli Barzilay (eli at barzilay.org)
Date: Mon May 17 13:41:19 EDT 2010

On May 17, David Yrueta wrote:
> Hi All --
> 
> Is there an easy way to convert a string like this -- "(a or (b and
> c))" -- to a list-of-symbols equivalent to '(a or (b and c)) ?

(call-with-input-string "(a or (b and c))" read)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.