Where you found (string→symbol? Grakcet version you have? 

Welcome to DrRacket, version 6.11 [3m].
Language: racket, with debugging; memory limit: 128 MB.
> (string→symbol "map") 
. . string→symbol: undefined;
 cannot reference an identifier before its definition
> 


miercuri, 16 mai 2018, 07:15:43 UTC+3, N. Raghavendra a scris:
>
> I just found that 
>
> > (define φoo→β=αρ "Foo→b=ar") 
> > φoo→β=αρ 
> "Foo→b=ar" 
> >(call-with-output-file "/tmp/foo.txt" 
>    (λ (out) 
>    (display (xml-remove-markup) out)) 
>    #:exists 'replace) 
>
> etc., work.  That's nice. 
>
> In general, is it possible to declare, e.g., '→' as equivalent to '->' 
> in identifiers?  Then, I can use 
>
> > (string→symbol "map") 
>
> instead of 
>
> > (string->symbol "map") 
>
> Thanks, 
> Raghu. 
>
> -- 
> N. Raghavendra <ra...@hri.res.in <javascript:>>, http://www.retrotexts.net/ 
>
> Harish-Chandra <http://www.retrotexts.net/Harish-Chandra> Research 
> Institute, http://www.hri.res.in/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to