On Fri, Feb 3, 2012 at 7:06 PM, AndyK wrote:
> Is 1.4 supposed to be compatible with 1.3 and libraries written to
> 1.3?
The changes between 1.3 and 1.4 are a lot smaller than between 1.2 and
1.3, fortunately :)
> For example, I've found some 1.2 libraries don't play nicely with 1.3
> because of
On Feb 3, 10:47 am, Stuart Sierra wrote:
> Clojure 1.4 goes beta! This release is essentially the same as
> 1.4.0-alpha5. It will hit the Maven Central repository in a few hours.
>
> No new features in the 1.4 line after this point. Bug fixes are still allowed.
>
> Also, if somebody wants to compi
I have started looking at the LMAX disruptor for event processing. It is an
interesting model.
Take a look if you are interested.
clojars [clj-disruptor "0.0.1"]
github https://github.com/davesann/clj-disruptor
There are some links to doco in the description on github
An interesting aspect
> That's because Github kicks ass :-) It automatically renders markdown files
> as html when you view them in the browser.
I've downloaded the jar but don't see any changes.md file in there
https://github.com/clojure/clojure/blob/master/changes.md lists 1.3
changes
I don't see a 1.4 branch on GitH
Tassilo Horn writes:
[...]
> Ah, ok, seems to work. Except that it doesn't copy the deps into my
> project but only to ~/.m2/, but that's probably the maven way.
Correct. Though this plugin may be of interest:
http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.htm
Jim Crossley writes:
>> I operate maven thru leiningen only, but probably I should get some
>> understanding of maven, too. Right now, I even cannot determine the
>> maven command for fetching deps (after generating a maven pom.xml
>> using "lein pom"). ;-)
>
> mvn install
Ah, ok, seems to work
In clojure's core.clj, assert-args is marked with ^{:private true}. Why?
Seems like something that would be useful in any macro definition, not just
the ones in core.clj...
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send
Tassilo Horn writes:
[...]
> I operate maven thru leiningen only, but probably I should get some
> understanding of maven, too. Right now, I even cannot determine the
> maven command for fetching deps (after generating a maven pom.xml
> using "lein pom"). ;-)
mvn install
[...]
--
You receiv
On 3 Feb 2012, at 20:00, Cedric Greevey wrote:
>
> FWIW, the file seems to act like perfectly readable HTML in the
> browser (surprisingly -- I was expecting something more like trying to
> read raw HTML, with tags cluttering up everything, and no working
> outbound links, since I didn't expect F
On Fri, Feb 3, 2012 at 2:40 PM, Tassilo Horn wrote:
> Cedric Greevey writes:
>
>> On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
>> wrote:
>>> Starting with 1.3 there is a changes.md file in the Clojure source.
>>
>> I'm fairly sure the OP wants a human-readable, user-centric file he
>> can view
Cedric Greevey writes:
> On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
> wrote:
>> Starting with 1.3 there is a changes.md file in the Clojure source.
>
> I'm fairly sure the OP wants a human-readable, user-centric file he
> can view by clicking a link or pasting a URL into his browser,
Yeah, d
On 3 Feb 2012, at 19:26, Cedric Greevey wrote:
> On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
> wrote:
>> Starting with 1.3 there is a changes.md file in the Clojure source.
>
> I'm fairly sure the OP wants a human-readable, user-centric file he
> can view by clicking a link or pasting a URL i
Stuart Sierra writes:
Hi Stuart,
> Both Maven and Leiningen can exclude transitive dependencies. In lein,
> it looks like this:
>
> https://github.com/technomancy/leiningen/blob/8baf33ec80bae1d3509590215262351aa2d72fbe/sample.project.clj#L35
Yes, Phil already pointed that out, and it does the t
On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
wrote:
> Starting with 1.3 there is a changes.md file in the Clojure source.
I'm fairly sure the OP wants a human-readable, user-centric file he
can view by clicking a link or pasting a URL into his browser, not a
.md file (whatever THAT is) that he h
Praki Prakash writes:
Hi Praki,
> I use mvn -X to diagnose such issues. mvn can also produce detailed
> reports on dependency and much more (mvn site -- I think).
I operate maven thru leiningen only, but probably I should get some
understanding of maven, too. Right now, I even cannot determine
On Fri, Feb 3, 2012 at 2:09 PM, Sam Aaron wrote:
>
> On 3 Feb 2012, at 15:47, Stuart Sierra wrote:
>
>> Also, if somebody wants to compile a list on the wiki of all the bug
>> fixes and changes since 1.3, that would be very helpful. Thanks!
>
> That would be wonderful (particularly if someone coul
Starting with 1.3 there is a changes.md file in the Clojure source.
-S
--
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 wit
On 3 Feb 2012, at 15:47, Stuart Sierra wrote:
> Also, if somebody wants to compile a list on the wiki of all the bug
> fixes and changes since 1.3, that would be very helpful. Thanks!
That would be wonderful (particularly if someone could post a link to that list
on this mailing list). Not bein
2012/2/3 Anna
> I'm new to clojure and I'm looking for code examples for building
> parsers in clojure on the fly using a grammar. I'm supposed to write a
> little SQL parser to experience with sql parse tree normalization's.
> Any recommendations?
Check out this recent thread:
https://groups.g
Both Maven and Leiningen can exclude transitive dependencies. In lein, it
looks like this:
https://github.com/technomancy/leiningen/blob/8baf33ec80bae1d3509590215262351aa2d72fbe/sample.project.clj#L35
-S
--
You received this message because you are subscribed to the Google
Groups "Clojure" gro
I use mvn -X to diagnose such issues. mvn can also produce detailed
reports on dependency and much more (mvn site -- I think).
HTH
On Fri, Feb 3, 2012 at 9:19 AM, Tassilo Horn wrote:
> Stuart Sierra writes:
>
> Hi Stu,
>
>> Clojure 1.4 goes beta! This release is essentially the same as
>> 1.4.0
Stuart Sierra writes:
Hi Stu,
> Clojure 1.4 goes beta! This release is essentially the same as
> 1.4.0-alpha5. It will hit the Maven Central repository in a few
> hours.
Great news, I'd very much like to test-drive it before the 1.4.0
release. Is there anything better than downloading its JAR
> Ouch. Not simply the Java hash function? That will work for Clojure
> objects that don't contain identities, only values. Whereas the above
> has issues with sets and maps that are semantically equal but get put
> together differently:
Yeah, with-out-str can be replaced to suit your data. I think
Broken, in the sense that its name shouldn't be defalias. If it was called,
defcopypmeta or somethingperhaps
On Friday, February 3, 2012, Stuart Sierra
wrote:
> defalias was always broken. It does not create an "alias," it creates a
new Var and copies the root binding. This is broken beca
On Thu, Feb 2, 2012 at 8:30 PM, Takahiro Hozumi wrote:
> 1. Resolve a server name which client should be connected to.
> If a client need to be connected to specific resource (chat room etc)
> consistent hashing is useful.
> http://nakkaya.com/2010/05/05/consistent-hashing-with-clojure/
> (defn s
Clojure 1.4 goes beta! This release is essentially the same as
1.4.0-alpha5. It will hit the Maven Central repository in a few hours.
No new features in the 1.4 line after this point. Bug fixes are still allowed.
Also, if somebody wants to compile a list on the wiki of all the bug
fixes and chang
On Fri, Feb 3, 2012 at 10:29 AM, Meikel Brandmeyer (kotarak)
wrote:
> Hi,
>
> it is:
>
> Clojure 1.3.0
> user=> (defprotocol Test (foo [this data]))
> Test
> user=> (deftype Foo []
>
> Test
> (foo [this {:keys [bar a b c] :as d}]
> (println bar)))
> user.Foo
> user=> (foo (Foo.) {:bar 123
There is an example of parser for a very small subset of SQL in one of the
unit tests for imparsonate, here:
https://github.com/grammati/imparsonate/blob/master/test/imparsonate/test/core.clj
- Chris
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
Hi,
it is:
Clojure 1.3.0
user=> (defprotocol Test (foo [this data]))
Test
user=> (deftype Foo []
Test
(foo [this {:keys [bar a b c] :as d}]
(println bar)))
user.Foo
user=> (foo (Foo.) {:bar 123})
123
nil
Meikel
--
You received this message because you are subscribed to the Google
Group
On Thu, Feb 2, 2012 at 5:02 PM, Benjamin Klüglein <
scheibenk...@googlemail.com> wrote:
> Hi folks,
>
> I wrote a small piece of Clojure code of which I thought it would use the
> ClojureScript subset of Clojure, so that it could be compiled to
> JavaScript. But when I compile it (successfully) I
Hi,
Christophe Grand's parsley is another option:
http://github.com/cgrand/parsley
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 m
defalias was always broken. It does not create an "alias," it creates a new
Var and copies the root binding. This is broken because if you rebind or
alter one Var it does not affect the other.
-S
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
The little information you've provided leaves the field pretty open...
... but when I'm 'toying' around with ASTs I like Amotoen ('course I'm
probably biased. ;-)).
https://github.com/richard-lyman/amotoen
-Rich
On Fri, Feb 3, 2012 at 6:21 AM, Anna wrote:
> I'm new to clojure and I'm looking
I can't get this to work using lein 1.6.2. I tried using the exact
~/.lein/init.clj in the example, but 'lein new foo' just creates a standard
stub project.clj, without the additional elements. Is there anything I'm
missing? Thanks!
--
You received this message because you are subscribed to
Hi folks,
I wrote a small piece of Clojure code of which I thought it would use the
ClojureScript subset of Clojure, so that it could be compiled to JavaScript.
But when I compile it (successfully) I get invalid JavaScript and I get an
exception when running it in the browser.
This seems to o
Now that you said it, it all makes perfect sense. I'm in the process
of switching from Scheme to Clojure and these are some "bad" habits.
This case makes me also realise that dealing with lazy sequences can
be a delicate matter in cases where you want eager evaluation, since
you really have to call
I'm new to clojure and I'm looking for code examples for building
parsers in clojure on the fly using a grammar. I'm supposed to write a
little SQL parser to experience with sql parse tree normalization's.
Any recommendations?
--
You received this message because you are subscribed to the Google
defalias will transfer the metadata of the righthand side's var to the new
alias on the left.
On Feb 3, 2012 1:25 AM, "Sean Corfield" wrote:
> On Wed, Feb 1, 2012 at 10:23 PM, R Daneel wrote:
> > it says that "some" of the old contrib.def moved to core.incubator, but
> > apparently not defalias.
38 matches
Mail list logo