Avoid breaking people working in the edge. Things will be deprecated
and removed over time.
On May 6, 10:46 pm, MarkSwanson wrote:
or as-str from c.c.java-utils (I think)
Good one. It's in string.clj in the latest git.
It looks like identical code for as-str is in both java_utils.clj and
On May 6, 10:46 pm, MarkSwanson wrote:
> > or as-str from c.c.java-utils (I think)
>
> Good one. It's in string.clj in the latest git.
It looks like identical code for as-str is in both java_utils.clj and
string.clj
Is there a good reason for this duplication?
--
You received this message beca
usualy pr and pr-str is for that, since str/print does not guarantee you that
you can read the stuff back, think of str'ing a str, it looses it's ".
On May 6, 2010, at 23:49 , Razvan wrote:
> I think it returns :a rather than just a so that you can print stuff, then
> read it back in and it woul
I think it returns :a rather than just a so that you can print stuff, then
read it back in and it would be the same. You can use it to dump
configuration data to a file for example then load it later easily.
Razvan
On Thu, May 6, 2010 at 10:21 PM, Meikel Brandmeyer wrote:
> Hi,
>
> or as-str fr
> or as-str from c.c.java-utils (I think)
Good one. It's in string.clj in the latest git.
I've needed this before too. There is so much good stuff in contrib. I
think I have to allocate 30 minutes every day and just try to commit
c.c. to memory.
--
You received this message because you are subs
On May 6, 2:44 pm, Sean Devlin wrote:
> Okay, next guy to mention name gets shot. Nothing personal.
>
Ok, but have you considered using name?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
Hi,
or as-str from c.c.java-utils (I think)
Sincerely
Meikel
--
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
Now that's a solution :)
On May 6, 2:53 pm, "Heinz N. Gies" wrote:
> okay another suggestion:
>
> (defn nstr [& ss]
> (apply str (map #(if (keyword? %) (n-word-function-i-dont-mention %) %)
> s)))
>
> On May 6, 2010, at 21:44 , Sean Devlin wrote:
>
>
>
> > Okay, next guy to mention name ge
okay another suggestion:
(defn nstr [& ss]
(apply str (map #(if (keyword? %) (n-word-function-i-dont-mention %) %)
s)))
On May 6, 2010, at 21:44 , Sean Devlin wrote:
> Okay, next guy to mention name gets shot. Nothing personal.
>
> On May 6, 2:42 pm, Jeff Heon wrote:
>> You could use
Sorry, the others replies weren't there yet when I begun answering 8)
On May 6, 2:44 pm, Sean Devlin wrote:
> Okay, next guy to mention name gets shot. Nothing personal.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
Okay, next guy to mention name gets shot. Nothing personal.
On May 6, 2:42 pm, Jeff Heon wrote:
> You could use name.
>
> (name :a)
> ->"a"
>
> On May 6, 2:33 pm, Sean Devlin wrote:
>
> > Why does (str :a) return ":a" and not "a"? I have to work around this
> > a lot, and I'm just curios what
You could use name.
(name :a)
->"a"
On May 6, 2:33 pm, Sean Devlin wrote:
> Why does (str :a) return ":a" and not "a"? I have to work around this
> a lot, and I'm just curios what the reasoning to go this direction was.
>
> --
> You received this message because you are subscribed to the Google
(name :a) gives you "a" :), and I think the reason is that str shows the type
somewhat, just as (str '(1 2 3)) or (str [1 2 3])
Regards,
Heinz
On May 6, 2010, at 21:33 , Sean Devlin wrote:
> Why does (str :a) return ":a" and not "a"? I have to work around this
> a lot, and I'm just curios what
Hi,
On May 6, 2:33 pm, Sean Devlin wrote:
> Why does (str :a) return ":a" and not "a"? I have to work around this
> a lot, and I'm just curios what the reasoning to go this direction was.
str returns ":a" because (.toString :a) returns ":a". This is
probably so things like (println :a) work as
Why does (str :a) return ":a" and not "a"? I have to work around this
a lot, and I'm just curios what the reasoning to go this direction was.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.co
15 matches
Mail list logo