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.mccar...@gmail.com> wrote:
> (format "~v" sexp)
>
> or
>
> (require racket/pretty)
> (pretty-format sexp)
>
> 2011/6/20 Kazimir Majorinc <kazi...@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 <j...@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
sa...@ccs.neu.edu

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to