user=> (first (read-string x))
a

On Jan 10, 12:36 pm, Bartek <krupa.bart...@gmail.com> wrote:
> hello everyone,
>
> It's true that:
>
> (first '(a b))
> is:
> a
>
> And now I have:
>
> (def x "(a b)")
>
> How can I use 'x' as S-expression like in the example above?
>
> (first (>>some-functions<< x))
> and should give:
> a
>
> again. What should I put in 'some-functions' place?
>
> regards,
> Bartek

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to