When a java class uses the compiled Test (gen-class) from test namespace.
Everytime the static function -run is called, will parser be slurped again
or only once ?
(ns test (:gen-class :name Test :methods [ ^:static [run []
String])) (def parser (slurp
, there are alternatives that will not keep on
paying the atom update cost.)
On 14 August 2015 at 10:59, Thomas Goossens con...@thomasgoossens.be
javascript: wrote:
When a java class uses the compiled Test (gen-class) from test namespace.
Everytime the static function -run is called, will parser
*.
Get your free tickets now!
Click here
http://beclojure.org/2014/09/20/beginners-evening-november-5th-2014-leuven/
Please share and enjoy!
Hope to see you there!
Sincerely,
Thomas Goossens
Founder BeClojure
--
You received this message because you are subscribed to the Google
Groups
I think I am going to love this!
On Friday, August 9, 2013 6:19:40 PM UTC+2, Alexander Yakushev wrote:
Dear community,
I've just released the initial version of my clojure-complete fork,
Compliment. I decided to move it into a separate project after I rewrote
most of it. Here is project's
, if
not then not heart-feelings :)
Best regards,
Thomas Goossens
--
--
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 with your
first
I'm very pleased to announce the first ever
#clojurehttps://plus.google.com/s/%23clojure
#meetup https://plus.google.com/s/%23meetup group in
#belgiumhttps://plus.google.com/s/%23belgium
For the latest information please visit http://lanyrd.com/2013/belgiumclj
Follow us on twitter:
*With some fellow Belgian clojurians (Frederik De
Bleserhttp://www.enigmeta.com/ Wim De Clerq) I’m planning to organise a
Clojure meetup in Belgium while
being inspired by the Amsterdam clojurians. So far no decisions have been
made so don’t expect to find information like the planning, a
If you are from Belgium, Don't get too excited - yet - .
I've been wondering about organising a small meetup somewhere next
semester. (I peeked at our northern neighbours:
http://www.meetup.com/The-Amsterdam-Clojure-Meetup-Group/events/88386392/)
Though, I have no idea at all how many people
1
nil
user=
On Sat, Dec 8, 2012 at 3:02 PM, Thomas Goossens
con...@thomasgoossens.be javascript: wrote:
One of the issues i had and still have with the if function is that
because it has ordered arguments, makes things more complex.
For small functions this is no so
Cool thanks!
On Sunday, December 9, 2012 11:52:32 AM UTC+1, Alex Baranosky wrote:
The version I just posted also has the benefit that it does not cause
multiple evaluations of its branches.
On Sun, Dec 9, 2012 at 2:39 AM, Herwig Hochleitner
hhochl...@gmail.comjavascript:
wrote:
consider if complected. If reverse order is more
appropriate, I use if-not.
On Sunday, December 9, 2012 12:02:54 AM UTC+1, Thomas Goossens wrote:
One of the issues i had and still have with the if function is that
because it has ordered arguments, makes things more complex.
For small
One of the issues i had and still have with the if function is that
because it has ordered arguments, makes things more complex.
For small functions this is no so much of a problem.
(if test 1 0)
But when things get larger, that extra complexity of order without
explicit information can get
Solved it for me as well.
Great :D
On Thursday, November 22, 2012 4:03:38 PM UTC+1, Chas Emerick wrote:
The user namespace is implicitly created with a blanket refer for
clojure.core; removing the mapping for e.g. '== in user would require using
ns-unmap.
Just use a different namespace.
Thanks. Two months ago I bought that book. So I'll take a look at it !
--
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 with
I think it is a bit dull that for every combination [type1 type2] you have
to define an equivalent method for [type2 type1]
Is there a way to address this problem? perhaps with sets?
i need to think about this one :D
On Monday, November 19, 2012 4:32:15 PM UTC+1, Brian Marick wrote:
Here's
! But it will make it easier for me i guess.
its just a thought
On Tuesday, November 20, 2012 9:19:23 PM UTC+1, Brian Marick wrote:
On Nov 20, 2012, at 10:22 AM, Thomas Goossens wrote:
I think it is a bit dull that for every combination [type1 type2] you
have to define an equivalent method
In a java project last year we had to create a board game.
A Board had Piece objects.
Some pieces can share position. Some don't.
The way i solved this in Java was using double dispatch.
http://pastebin.com/brrRtqsS
(I just extracted the methods out of their respective classes)
But i think it
Yes indeed. with multimethods you can doue multi-argument dispatch.
But that means that for every possible collision. I have to specify a
method?
Would it be a good idea to introduce taxonomies here?
On Monday, November 19, 2012 4:02:18 PM UTC+1, Stuart Sierra wrote:
A long time ago I
18 matches
Mail list logo