[gambit-list] (case)

Per Eckerdal per.eckerdal at gmail.com
Fri Oct 31 10:12:32 EDT 2008


> Ok, then my code is now rewritten as
>
>  (case (string->symbol ".ab") ((.ab) 1) (else 2))

Keep in mind, though, that interned symbols are not garbage collected,  
so string->symbol with arbitary input might result in memory leaks.

/Per




More information about the Gambit-list mailing list