The lack of complex numbers is keeping me on the fence about Clojure.
I could (and partially have) implement them in Clojure itself, but
this is not as satisfying as having them built in with reader syntax
and so on. I don't have the will right now to learn enough about
Clojure internals and how t
FWIW:
I have thought the same thing in the past. But, in practice, this has
never been a problem for me. Not once. Now I haven't written
quadrillions of lines of Lisp, but it doesn't seem to have been a
problem for those who have either.
One thing to keep in mind is that you don't typically have
On Feb 26, 4:56 pm, Peter Wolf wrote:
>
> So my vote is that String are atomic built in objects, and at least +, <
> and > should work with Strings. The behavior should be just like Java,
> so (+ "foo" 2) --> "foo2"
I have an HP calculator. (I may get some of the details wrong here, I
haven
Map is lazy. You are presumably executing (foo) at the REPL. In the
first foo, since the value calculated by map is unused, no elements of
the seq are calculated and your anonymous function never runs. In the
second foo, since the function actually returns the value and the REPL
wants to print it,
On Feb 1, 3:35 pm, e wrote:
> This may be obvious to others, but what's the motivation behind it? Is it
> that we are very concerned about combatting the criticism that lisp has too
> many parens?
>
Applying functions in succession without giving a name to each
intermediate value can be very
I've always preferred a function like str to either of these options
anyway.
(str "Hi " someone ", my name is " myname)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send ema