[racket] Conversion of sexprs to strings?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jun 20 13:57:29 EDT 2011

(format "~v" sexp)

or

(require racket/pretty)
(pretty-format sexp)

2011/6/20 Kazimir Majorinc <kazimir at chem.pmf.hr>:
> Is there some built in like write-to-string in some dialects, or some trick
> to avoid writing my own "code walker"?
>
> R5RS or R6RS if possible.
>
>
>
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93



Posted on the users mailing list.