Hi Islon,
On 28 Okt., 04:38, Islon <[EMAIL PROTECTED]> wrote:
> Is there any chance closure will get string interpolation?
>
> Do things like (prn "Hi ${someone}, my name is ${myname}") is nice, not
> crucial of course, but nice.
There is format.
user=> (def someone "World")
#=(var user/someone)
user=> (format "Hello %s!" someone)
"Hello World!"
Not exactly, what you want, but close. The format string syntax
is described at java.util.Formatter in the Java docs.
Sincerely
Meikel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---