Thanks, that works great!
--
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
In general you can (read (open-input-string " ...")).
In this case
(second (read (open-input-string "'(2 2 2)")))
Since read will quote the input and if you don't take the second element
you'll get
''(2 2 2)
Deren
On Fri, Jan 13, 2017 at 2:18 AM, Andreas Olsson
wrote:
If i got " '(2 2 2) " as input via read-line and want to convert it to '(2 2
2), how do I do it?
--
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
3 matches
Mail list logo