On Sun, Oct 23, 2011 at 23:53, Sean Corfield wrote:
> On Sun, Oct 23, 2011 at 1:04 PM, Ben Smith-Mannschott
> wrote:
>> On Sun, Oct 23, 2011 at 21:25, Meikel Brandmeyer wrote:
>>> The idiomatic solution is #(f % a1 a2 a3). I'm failing to see the issue
>>> with “nice” and “expressive”, but that
On Fri, Oct 21, 2011 at 4:12 PM, rugby_road wrote:
> The bit-or arity seems to be limited to 2, rather than more, which
> seems to disagree with the documentation. I get "Wrong number of args
> (3) passed to: core$bit-or" for (bit-or 1 1 1). Have I misunderstood
> this operation; shouldn't it ta
As a reminder, you don't need Git to use the latest development version of
Clojure. Just set your Clojure dependency version to "1.4.0-master-SNAPSHOT"
and add Sonatype to your Maven repositories.
Detailed instructions here:
http://dev.clojure.org/display/doc/Maven+Settings+and+Repositories
-S
I think Clojure is simple in design, complex in implementation. Dealing with
the JVM introduces all sorts of complexity. Dealing with *hardware*
introduces complexity. Perfection is only possible in the abstract.
Compromises are always needed, and Clojure generally makes good ones. But
there ma
Hi Alasdair,
This has been discussed at length in the past. The conclusion seems to be
this: There may be situations, now or in the future, where it is desirable
to create Keywords containing non-`read`able characters. Therefore, don't
use Keywords for things that may contain non-`read`able ch
On Fri, Oct 21, 2011 at 8:35 AM, Timothy Baldridge wrote:
[...]
> What Rich is advocating is this: throw all the data into a hashmap.
> Suddenly, my SQL driver can just dump data in to the map, I can throw
[...]
I suspect he might have meant even more when he said, "... learn SQL, finally."
SQL
On Fri, Oct 21, 2011 at 11:50 AM, Mark Engelberg
wrote:
> I've always felt that Clojure's treatment of nil was somehow inconsistent
> with the elegance of many other features of Clojure. Now I can finally
> articulate why: nil complects non-existence, false, and empty.
>
> The choice to make nil
On Fri, Oct 21, 2011 at 12:38 PM, daly wrote:
[...]
> Having used lisp in many different forms over the last 40 years
> I think that the "complecting" of nil to represent all three
> concepts is one of the most brilliant aspects of the language.
> In fact it is one of the key flaws of scheme, in m
Hello,
I think I've found a bug in Clojure's keyword handling. The keyword
function lets you create a keyword containing whitespace but, if
printed, the space isn't quoted or escaped, so if you print and then
read an error occurs. I would expect either the keyword creation to
fail or, when print
The bit-or arity seems to be limited to 2, rather than more, which
seems to disagree with the documentation. I get "Wrong number of args
(3) passed to: core$bit-or" for (bit-or 1 1 1). Have I misunderstood
this operation; shouldn't it take any number of values?
thanks
Blake
--
You received thi
It isn't hard to write your own variation of pmap that does not do more
parallelism than you want, regardless of whether the input sequence is
chunked or not. I wrote one for a Clojure submission to the computer
language benchmarks game a year or so ago. Besides avoiding unwanted
parallelism for
On Sun, Oct 23, 2011 at 1:04 PM, Ben Smith-Mannschott
wrote:
> On Sun, Oct 23, 2011 at 21:25, Meikel Brandmeyer wrote:
>> The idiomatic solution is #(f % a1 a2 a3). I'm failing to see the issue with
>> “nice” and “expressive”, but that is most likely just me.
> I find myself reaching for partial
Hi all,
This reply is to the thread, not Luc specifically.
Thanks everyone for your feedback and input.
I have pushed 3 commits:
1) Fixes the inconsistency between the hash function used by Clojure maps (was
.hashCode) and =. Thanks Paul for the report.
2) Changes core/hash to return the resu
On Sun, Oct 23, 2011 at 4:01 PM, Luc Prefontaine <
lprefonta...@softaddicts.ca> wrote:
> It's simpler to use one representation to port the core. You can choose the
> fastest/efficient one. You do not have to carry all these intermediate
> types
> with you.
>
There are already at least two numeri
On Sun, Oct 23, 2011 at 21:25, Meikel Brandmeyer wrote:
> Hi,
>
> Am 22.10.2011 um 20:49 schrieb Sean Corfield:
>
>> I'm
>> starting to think there's a nice, idiomatic solution lurking somewhere
>> that wouldn't require an extra function...
>
> The idiomatic solution is #(f % a1 a2 a3). I'm failin
On Sun, 23 Oct 2011 20:31:51 +0200
Ivan Koblik wrote:
> Hello Luc,
>
> In all fairness I don't see how converting ints to Integers returned
> by class methods would break the abstraction. If you start talking
> about portability of Clojure code, then Long is as portable as
> Integer is. (In ge
Hi,
Am 22.10.2011 um 20:49 schrieb Sean Corfield:
> I'm
> starting to think there's a nice, idiomatic solution lurking somewhere
> that wouldn't require an extra function...
The idiomatic solution is #(f % a1 a2 a3). I'm failing to see the issue with
“nice” and “expressive”, but that is most li
Hello Luc,
In all fairness I don't see how converting ints to Integers returned by
class methods would break the abstraction. If you start talking about
portability of Clojure code, then Long is as portable as Integer is. (In
general they are not.)
Could you explain your position on the fact that
Hi Chris,
I am sorry, I think I needed to be a little more specific. I get a "bad
submission key found" error when I submit..
Sunil.
On Sun, Oct 23, 2011 at 9:16 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:
> Hi Chris,
> Thanks for your startup-package. Can you please tell me if
Hi Chris,
Thanks for your startup-package. Can you please tell me if there is a
test_bot.sh for clojure. Can share if you already have one?
Thanks,
Sunil.
On Sat, Oct 22, 2011 at 12:16 PM, Chris Granger wrote:
> Hm? My starter package is there:
>
> http://aichallenge.org/starter_packages.php
>
CON1 - I'm buying your argumentation about consistency in Clojure maps and
fixing them. Integer OBJECTS (as opposed to int primitive) should be
handle as objects consistenly, not as primitive values promoted to long.
CON2, CON3 and CON4 - No way, the current design choice is the good one.
So man
Hey thanks Stephen and BG, and Jonas! Cool tricks I hadn't thought
of. I'm especially going to study this one; I had thought update-in
might be applicable but I wasn't sure how (still learning it).
I appreciate it!
Mike
On Oct 23, 2:10 am, Jonas wrote:
> Another way to do it
>
> (defn apply-m
I wrote some functions to convert a map into an ExtJS/Sencha Touch config
object. It converts nested list and vectors into javascript arrays.
https://gist.github.com/1307273
Matt Hoyt
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to t
On Sat, Oct 22, 2011 at 5:51 PM, Stuart Halloway
wrote:
> I am dropping off this thread now. At this point I think it would be more
> useful for me (or someone) to expand the notes about numerics into better
> documentation, rather than continuing this rambling point-by-point treatment
> without
On Sat, Oct 22, 2011 at 7:53 PM, Luc Prefontaine <
lprefonta...@softaddicts.ca> wrote:
>
> Ha ! Ok, I missed the digression here and I now understand the issue.
> Considering that a PersistentArrayMap may eventually become a
> PersistentHashMap
> this opens the door to *funny* bugs.
>
> Is this th
2011/10/22 Tim Robinson :
> So I've read the previous post > Rich Hickey: "Simple Made Easy" from
> Strange Loop 2011, but I wanted to ask some simple questions not
> complected by the interweaving path the other has post followed (is
> 'complected' even a word? - lol) .
>
> I know the presentatio
26 matches
Mail list logo