Thanks very much for checking this out!
On Tuesday, 7 August 2012 12:31:32 UTC+8, Nelson Morris wrote:
Are you using `mvn deploy` or does m2e have a button/gui for
deployment? I tried to find out if it had one, but the m2e website
leaves much to be desired, and searching google brings up
I use literals for collection-construction from arbitrary values too. Just
haven't run into that issue.
So, please:
Put hash maps and hash sets back to the way they were -- they worked
perfectly fine. Use the duplicate key check in ArrayMap to make ArrayMaps
behave like all the other maps,
+1. The piano composition is reminescent of some Gurdjieff/De Hartmann
music. I liked too the live coding gestures, where I track down your Emacs
key bindings and your flowing among buffers. BTW, how did you update the
values of that blue numerical sliders? By mouse?
On Sunday, August 5, 2012,
I would encourage you to blog, especially appengine-magic.
Does it use or need core.logic ?
On 07/08/2012, at 2:24 PM, Evan Mezeske emeze...@gmail.com wrote:
I just launched https://www.schoolseatingcharts.com , which might be of
interest to this mailing list because it's constructed out
I would encourage you to blog, especially appengine-magic.
I'll do that sometime soon.
Does it use or need core.logic?
Not currently. I considered using core.logic for the seating constraints,
but I know basically nothing about logic programming at the moment, so in
order to get the
(defrecord MyRecord [x y z]
(make-record [arg1 arg2 arg3 ...] ...))
(make-record MyRecord arg1 arg2 arg3 ...)
This construct is not very good. make-record is not first-class (It
cannot be used as an argument to a function).
Its first argument is not first-class (it has to be statically the
On 7 Aug 2012, at 08:21, Roberto Mannai roberm...@gmail.com wrote:
+1. The piano composition is reminescent of some Gurdjieff/De Hartmann music.
The piano piece was composed by Erik Satie - I simply played my own
interpretation of the timings on the monome. Sadly, you can't see that part on
On 07/08/12 04:07, David Nolen wrote:
You have to be careful when using Clojure or Java operations in
core.logic programs. I would recommend avoiding it until you're
comfortable with writing pure core.logic programs.
ok, so I watched your video (again!) and you make it clear that one
cannot
On Mon, Aug 06, 2012 at 07:32:42PM -0700, Warren Lynn wrote:
My reluctance (or allergy as you may suggest) about OOP is toward the
popular
implementations that are insanely verbose.
Why is it insanely verbose? Just look at my example:
(defrecord MyRecord [x y z]
(make-record
You can. Using core logic 0.8 alpha thanks to the newly introduced cKanren
extensions. It's mentioned in the (or another, I'm not sure at the moment)
video.
Am 07.08.2012 12:20 schrieb Jim - FooBar(); jimpil1...@gmail.com:
On 07/08/12 04:07, David Nolen wrote:
You have to be careful when using
On 07/08/12 11:26, Moritz Ulrich wrote:
You can. Using core logic 0.8 alpha thanks to the newly introduced
cKanren extensions. It's mentioned in the (or another, I'm not sure at
the moment) video.
I just found an answer on SO recommending 'project' for non-relational
arithmetic...could this
I don't understand!!! why would this work and the previous won't? I am
still using [+, -] from clojure.core...
(defn knight-moves [x y]
(let [xmax 8 ymax 8]
(run* [q]
(fresh [a b]
(conde
[( (+ x 1) xmax) ( (+ y 2) ymax) (== a (+ x 1)) (== b (+ y 2))]
;1st possibility
[( (+ x 2)
Wow, great work Chas - this is hugely valuable.
From a personal perspective, I'm massively encouraged by the fact that Music
and Graphics/Art were domains that people could specifically choose in this
year's questionnaire and that they received 6 and 8% respectively.
I'm going to make it a
On Tue, Aug 7, 2012 at 6:46 AM, Jim - FooBar(); jimpil1...@gmail.comwrote:
(defn bishop-moves [x y]
(let [xmax 8 ymax 8]
(run* [q]
(fresh [a b]
( a xmax)
( b ymax)
(= (- x a)
(- y b))
(== q [a b])
(= (- x a) (- y b))
Is not
Tried it. It's not hard to see how it can be one little practical app worth
its price. Thanks for sharing Evan!
--
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
I have code like
(defn ^:export main[]
(let [eb (vertx.EventBus.)]
(set! (.onopen eb) #())
eb))
unfortunately it end up with compilation error:
Assert failed: set! target must be a field or a symbol naming a var
targetexpr
Whats the problem? I am using lein (1.7.1) + lein-cljsbuild
I'm more or less a newcomer to the language, but I generally feel that
having to deal with eventual exceptions, such as in
[...] imagine some code that tried to construct a set literal from some
variables, catching IllegalArgumentException to deal with duplicate values.
is not very much in
Hello all,
expectations (github.com/jaycfields/expectations) is an opinionated testing
framework that is available for anyone to use. I've been using it to test my
production code for almost 2 years now, and it's used by various teams at DRW
(http://drw.com) to test their production code as
On 07/08/12 13:19, David Nolen wrote:
(= (- x a) (- y b))
Is not going to work. You probably want.
(project [x y a b]
(== (- x a) (- y b)))
Though of course isn't relational. This kind of thing is probably now
better handled by the new CLP(FD) functionality. I'm planning on
adding some
punting here, I haven't use set! in a long time.
but if onopen is a field - use field access (.-onopen...)
On Tuesday, 7 August 2012 10:00:52 UTC+10, Paweł Gdula wrote:
I have code like
(defn ^:export main[]
(let [eb (vertx.EventBus.)]
(set! (.onopen eb) #())
eb))
I've got the moving rules for all chess-pieces working... :-)
David, would you like me to put them somewhere as examples to
core.logic? I remember you saying that you'd love some translations from
prolog to core.logic or generally examples of core.logic to put on the
wiki...I do have the
On Tuesday, August 7, 2012, Sam Aaron wrote:
On 7 Aug 2012, at 08:21, Roberto Mannai roberm...@gmail.comjavascript:;
wrote:
+1. The piano composition is reminescent of some Gurdjieff/De Hartmann
music.
The piano piece was composed by Erik Satie - I simply played my own
interpretation of
Operators with appending ! are noted as special
clojure.core= (doc set!)
-
set!
(set! var-symbol expr)
(set! (. instance-expr instanceFieldName-symbol) expr)
(set! (. Classname-symbol staticFieldName-symbol) expr)
Special Form
Used to set
Ouups..
COrrect please
Le mardi 7 août 2012 17:33:33 UTC+2, Pierre-Henry Perret a écrit :
Operators with appending ! are noted as special
clojure.core= (doc set!)
-
set!
(set! var-symbol expr)
(set! (. instance-expr
On Tue, Aug 7, 2012 at 10:09 AM, Jim - FooBar(); jimpil1...@gmail.com wrote:
I've got the moving rules for all chess-pieces working... :-)
David, would you like me to put them somewhere as examples to core.logic? I
remember you saying that you'd love some translations from prolog to
On Tuesday, August 7, 2012 12:24:34 AM UTC-4, Evan Mezeske wrote:
I could go on and on about the specifics of building out the website (and
maybe I will in a blog post sometime),
Nice work, Evan. Would love to read some blog posts about this.
---John
--
You received this message
There's a survey about future features and focus of Java and the JVM:
http://www.infoq.com/research/priorities-java-jvm
http://www.infoq.com/news/2012/08/priorities-java
As far as I know, from a Clojure perspective, we would like to see
tail-call optimization and tagged numbers in the JVM.
On Tue, Aug 7, 2012 at 12:24 AM, Evan Mezeske emeze...@gmail.com wrote:
Anyway, I've rambled on far too much already. I just thought people might
want to hear about a Clojure success story. Technical success, that is...
Whether it's a commercial success remains to be seen. :)
-Evan
An
Fellow Clojurians!
I'd like to close the call for papers for the December 2012 Clojure
eXchange by the end of August!
So Roll up! Roll up! Submit your papers now!
https://docs.google.com/spreadsheet/viewform?formkey=dFhDYTRYaGg3MHNmS3hCTHVvQUxUaGc6MQ
cheers,
Bruce
On Tuesday, 3 July 2012
On Tue, Aug 7, 2012 at 5:31 AM, Jay Fields j...@jayfields.com wrote:
expectations (github.com/jaycfields/expectations) is an opinionated testing
framework that is available for anyone to use.
I'm loving Expectations so big thanks for creating it!
and, if you're in an env where you're using an
As a step to respond to the push to develop sophisticated web applications,
Rich Hickey created Clojurescript. Currently, much of the core of web
development comes from jquery and does not fit well with the google closure
model. Having tools written in Clojure/Clojurescript would be more ideal
core.cache README currently recommends installing 0.6.2:
[org.clojure/core.cache 0.6.2]
without specifying where artifacts are released. The All Released Versions
link leads to search.maven.org:
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22core.cache%22
On Mon, Aug 6, 2012 at 10:44 AM, Alexander Solovyov
alexan...@solovyov.net wrote:
I have a simple protocol Map here:
https://github.com/piranha/cj-locations/blob/master/src/map.cljs
And an implementation of it here (I tried with extend-type as well):
Hello Bruce,
I have submitted a few ideas. If you need any help with organising the
event, I'd be happy to help.
Thanks
| About http://john.jr0cket.co.uk/ | Blog http://blog.jr0cket.co.uk/ |
@JR0cket http://http//twitter.com/#%21/JR0cket |
Google+http://gplus.to/JR0cket|
LinkedIn
Hello Jay,
thanks for this really great livrary.
I can see that there's a thorough analysis of the framework in a blog
series, but which may or may not be up to date. At least, it seems a little
bit dated (in software duration time scales), but maybe it's still
accurate. Maybe updates on the
Laurent, as far as I know, the blog entries are still up to date. I've only
documented the stable features of expectations, thus they shouldn't have
changed since the blog entires were written. That said, please do let me know
if anything is incorrect.
Sean, JUnit integration should be as
On Tue, Aug 7, 2012 at 1:47 PM, Laurent PETIT laurent.pe...@gmail.com wrote:
I can see that there's a thorough analysis of the framework in a blog
series, but which may or may not be up to date. At least, it seems a little
bit dated (in software duration time scales), but maybe it's still
On Tue, Aug 7, 2012 at 2:03 PM, Jay Fields j...@jayfields.com wrote:
Sean, JUnit integration should be as simple as creating your own class that
looks like this one:
Thanx. I guess I was expecting more ceremony would be required...
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View --
core.cache README currently recommends installing 0.6.2:
The README predates the push to Maven Central and it looks like the
release failed. I will try again, but it'll be a bit before it makes
it to Central.
--
You received this message because you are subscribed to the Google
Groups Clojure
This construct is not very good. make-record is not first-class (It
cannot be used as an argument to a function).
Its first argument is not first-class (it has to be statically the
name of a class).
Good point. I am not happy with my own version because it is a pure
run-time function
On Tue, Aug 7, 2012 at 3:03 PM, Alexander Solovyov
alexan...@solovyov.net wrote:
On Mon, Aug 6, 2012 at 10:44 AM, Alexander Solovyov
alexan...@solovyov.net wrote:
I have a simple protocol Map here:
https://github.com/piranha/cj-locations/blob/master/src/map.cljs
And an implementation of it
在 2012年8月7日星期二UTC-4下午9时11分58秒,Warren Lynn写道:
This construct is not very good. make-record is not first-class (It
cannot be used as an argument to a function).
Its first argument is not first-class (it has to be statically the
name of a class).
Good point. I am not happy with my own
Perhaps I'm missing something, but couldn't you take advantage of the
numerous ways of constructing records, here, and do something like the
following:
(defrecord MyRecord [x y z])
(defn -MyRecord [x y z]
(MyRecord. (* x 2) (* y 3) (* z 4)))
(-MyRecord 1 2
43 matches
Mail list logo