[racket] Conversion of sexprs to strings?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Mon Jun 20 14:04:14 EDT 2011

In general, `with-output-to-string' and other applications of string
output ports work well here.

On Mon, Jun 20, 2011 at 1:57 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> (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
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



-- 
sam th
samth at ccs.neu.edu



Posted on the users mailing list.