[plt-scheme] Problem of type

From: Gregory Cooper (greg at cs.brown.edu)
Date: Sun Nov 25 11:36:36 EST 2007

It sounds like you're looking for expr->string.

-Greg

On Nov 25, 2007 11:25 AM, Laurent <Ouaibou at gmail.com> wrote:
> Hello,
>
> I have a list which contains scheme expressions :
>
> code : '((define (...)) (+ 3 4) ...)
>
> And i want to insert each elements from code in a text%
>
> Thus, i do a loop :
>
> (for-each (labmda (e)
>                   (send text insert e))
>           code)
>
> My problem is that e isn't a string. Not a symbol and not recognize
> like a list.
> I can't do a (symbol->string e) or a (list->string e).
>
> How insert each elements in my text% ?
>
> Thanks,
> Laurent
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.