[racket] changing a string into a list
If I ever knew there was a compose function, I'd forgotten it. Thanks
for the reminder!
On Wed, Jul 14, 2010 at 10:57 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> I'd compose the two maps into one:
>
> (map (compose string->symbol string) (string->list x))
>
>
>
> On Jul 14, 2010, at 10:51 PM, Todd O'Bryan wrote:
>
>> I want to change a "STRING" into a list of symbols '(S T R I N G), but
>> can't find a very direct way to do it.
>>
>> The best I've got is
>>
>> (map string->symbol (map string (string->list "STRING")))
>>
>> Is there something better I'm missing?
>>
>> Todd
>> _________________________________________________
>> For list-related administrative tasks:
>> http://lists.racket-lang.org/listinfo/users
>
>