On Wednesday, February 6, 2019 at 7:58:47 PM UTC+8, Laurent Orseau wrote:
>
> Oh nice, I didn't know we could do that one!
> Point taken :)
>
> I suppose (hope?) you can still use sandboxing with memory limits for this?
>


You could make your own read table which disables all special treatment of 
chars, and parameterize it on every read invocation, but the code will not 
look elegant -- in my opinion anyway.

If I had read a list of strings, I would just use:

    (map string->number (string-split "123 345"))

and maybe check for #f in the resulting list.  To read other things the 
code will be more complex... 

Alex.

-- 
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