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 seancorfi...@gmail.com wrote:
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel maspo...@gmail.com wrote:
it says that some of the old contrib.def moved to
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
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
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
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
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 spiegl...@list.ru wrote:
I'm new to clojure
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 post
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
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 get
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
Groups
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.
On Fri, Feb 3, 2012 at 10:29 AM, Meikel Brandmeyer (kotarak)
m...@kotka.dewrote:
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})
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
On Thu, Feb 2, 2012 at 8:30 PM, Takahiro Hozumi fat...@googlemail.com 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.
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 the.stuart.sie...@gmail.com
wrote:
defalias was always broken. It does not create an alias, it creates a
new Var and copies the root
Stuart Sierra the.stuart.sie...@gmail.com 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
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 tass...@member.fsf.org wrote:
Stuart Sierra the.stuart.sie...@gmail.com writes:
Hi Stu,
Clojure 1.4 goes beta! This
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
2012/2/3 Anna spiegl...@list.ru
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:
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 being
On Fri, Feb 3, 2012 at 2:09 PM, Sam Aaron samaa...@gmail.com 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
Praki Prakash praki.prak...@gmail.com 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
On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
the.stuart.sie...@gmail.com 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
Stuart Sierra the.stuart.sie...@gmail.com 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
On 3 Feb 2012, at 19:26, Cedric Greevey wrote:
On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
the.stuart.sie...@gmail.com 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
Cedric Greevey cgree...@gmail.com writes:
On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
the.stuart.sie...@gmail.com 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
On Fri, Feb 3, 2012 at 2:40 PM, Tassilo Horn tass...@member.fsf.org wrote:
Cedric Greevey cgree...@gmail.com writes:
On Fri, Feb 3, 2012 at 2:11 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
Starting with 1.3 there is a changes.md file in the Clojure source.
I'm fairly sure the OP
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
Tassilo Horn tass...@member.fsf.org 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
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
Jim Crossley jcrossl...@gmail.com 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,
Tassilo Horn tass...@member.fsf.org 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:
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
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
On Feb 3, 10:47 am, Stuart Sierra the.stuart.sie...@gmail.com 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
On Fri, Feb 3, 2012 at 7:06 PM, AndyK andy.kri...@gmail.com 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
36 matches
Mail list logo