On Dec 2, 12:51 pm, Andrés M. Quijano <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to use Clojure with ApacheMINA. I think Clojure it's the
> ideal language to concurrently handle all the events that arrive
> intoMINA'sseparate threads.
Hi Andrés,
I bumped into Mina a couple of weeks ago, a
Just tried the zip file link. I forgot to put the trace :-( Sry, I've
uploaded another zip file hoping it would overwrite the other. Alas,
it didn't.
So here is the new zip:
http://groups.google.com/group/clojure/web/echo-mina%20%282%29.zip
--~--~-~--~~~---~--~~
Y
On Dec 4, 5:40 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> I agree. By the identity element argument, (/) should be 1 and (-)
> should be 0.
>
Regarding *the* identity argument, I think it only works if the
operator is associative. Otherwise, you can talk about a left identity
or a
On Dec 5, 2:02 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> I've added a new reference type - atom.
Looks useful as a kind of high-level interface to
java.util.concurrent.AtomicReference. Am I correct
--~--~-~--~~~---~--~~
You received this message because you are
On Dec 5, 7:51 am, Krukow <[EMAIL PROTECTED]> wrote:
> Looks useful as a kind of high-level interface to
> java.util.concurrent.AtomicReference. Am I correct
to think of this as being (semantically) equivalent to combining send-
off and await with agents?
E.g.,
(defn memoize [f]
Hello everyone,
I am thinking about setting up a Danish Clojure Users' Group (dcug)
based in Aarhus, but with the goal to be country-wide, possibly with
city local groups (e.g., dcugAarhus, dcugCopenhagen). I am setting up
a website with an associated blog for news/updates: http://www.clojure.dk
On Mar 30, 3:40 pm, Christian Vest Hansen
wrote:
> Great. Now we are at least 3 danes who know Clojure - I have a feeling
> that there is at least one other guy out there :)
We have to start somewhere ;-) Perhaps I'll arrange a 'geek night' at
my company to talk about the language - that might
On Mar 31, 1:00 pm, martin_clausen wrote:
> I would certainly be interested. Lau are you out there ?
So far one user in Cph, one in Aarhus. Where are you from? And how
about Lau?
If you are able to attend the JAOO 2009 conference in Aarhus, I'll
arrange a dcug meeting. I believe that Rich is
On Mar 31, 11:33 pm, Attila Babo wrote:
> Hey, here is another clojure user from Copenhagen. I'm a Hungarian but
> living here so please count me in!
Cool. I guess I will be arranging our first meeting at JAOO.
Keep an eye on the site for other dcug news.
-- Karl
--~--~-~--~~-
On Apr 1, 6:57 am, Korny Sietsma wrote:
> I have a world that is a list of structures
>
> The world itself will change occasionally - i.e. I'll add or remove
> structures from the overall list, and I'll regularly be reading the whole
> list.
> (C) both of the above - a ref for the "world" list w
On Apr 1, 8:16 pm, Lau_of_DK wrote:
> Keep me posted please, if this turns into something concrete
Looks like we've got enough to get a user's group started -- great!
Seems most people are in cph, and I am in Aarhus :-(, but that should
be no problem.
I know Rich was invited for JAOO at QCon
On Apr 9, 9:00 pm, Rich Hickey wrote:
> Got a Clojure user group, meetup etc?
>
> Reply to this message and let me know, I'll add them to the Clojure
> site.
Danish Clojure Users' Group
http://www.clojure.dk
Thanks.
-- Karl
--~--~-~--~~~---~--~~
You received
On May 27, 4:47 am, markgunnels wrote:
> Hopefully this doesn't get me booed off the message board but is there
> a Clojure equivalent to Ruby's ERB?
I don't think there is a Clojure equivalent (i.e. for general purpose
text generation), but given Clojure's great Java integration you could
easil
On Jun 29, 7:51 pm, B Smith-Mannschott wrote:
[snip...]
> much on my netbook. The problem seems to be that with only a single
> (hyperthreaded) core the render agent is almost constantly interrupted
> by some pesky ant while attempting to snapshot the world, forcing the
> render agent to automati
On Jun 30, 6:01 pm, Rich Hickey wrote:
> MVCC history in Clojure's STM is dynamic, created by need. There is no
> read tracking, and more important for this case, no transaction
> tracking. So, if a read transaction is unable to satisfy its snapshot
> view from history, it will flag the offendin
On Jul 1, 8:43 am, Daniel Lyons wrote:
> While that may be true for the time being I think that Rich's original
> response still holds water: that usually, correctness is more
> important than performance and correctness is the real win with STM.
[snip...]
Agreed - happy Clojure user her
On Jul 1, 3:09 pm, Rich Hickey wrote:
[snip]
> lock architecture that is woven throughout. In fact, I think the
> possibility for knobs is a key strength of an STM. Furthermore, such
> knobs can be dynamic, allowing for applications that analyze their own
> runtime situation and adapt, in this
Hello everyone,
I thought I would take the liberty and announce a number of upcoming
Clojure events.
Rich Hickey is speaking at the JAOO Aarhus 2009 conference. Rich has
two talks:
* Introducing Clojure [http://jaoo.dk/aarhus-2009/presentation/
Introducing+Clojure]
* The Clojure Concurrency Sto
Line break errors:
On Jul 9, 6:34 am, Krukow wrote:
> * Introducing Clojure [http://jaoo.dk/aarhus-2009/presentation/
> Introducing+Clojure]
http://jaoo.dk/aarhus-2009/presentation/Introducing+Clojure
> * The Clojure Concurrency Story [http://jaoo.dk/aarhus-2009/
> presentation
I was browsing through core when I noticed something I didn't
understand in 'into' (from core.clj):
;redef into with batch support
(defn into
"Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined."
[to from]
(if (instance? clojure.lang.IEditableCollection
On Aug 11, 8:45 pm, Chouser wrote:
> I don't know either. 'loop' is a macro that expands to
> 'loop*', which is in turn a special form. At that most
> basic level, loop* still creates a recur point, so I don't
> think that's the point.
Can you enlighten us, Rich?
Cheers,
/Karl
--~--~--
When running the AOT compiled Clojure (clojure.jar) on an Azul box I
get an error during startup (in particular in the class-initializer
for clojure.main). This error does not occur in the clojure-slim.jar.
The stacktrace is this:
k...@azulpod1:~/download$ java $JVM_PARAMS -cp clojure.jar clojure
On Aug 14, 9:20 am, Christophe Grand wrote:
> Hi Karl,
>
> It sounds like a classloader problem.
> Are you using clojure 1.0 or a recent build? If one, can you try with the
> other?
I've tried it with 1.0 and with the 1-1-0-alpha-snapshot (latest from
github). Same error... :-(
--~--~-
On Aug 14, 6:32 pm, "J. McConnell" wrote:
> I ran into this exception recently. In my case the problem was that the
> classloader returned by (.getContextClassLoader (Thread/currentThread))
> while a gen-classed object was being instantiated was different than the one
> returned when a method o
Dates are now final for the Copenhagen and Aarhus Clojure meetings.
Trifork and Azul Systems are sponsoring the events: Trifork provides a
room, some drinks and sandwiches, and Azul is letting us run Clojure
on one of their large boxes (864 cores, loads of RAM ;-). I will be
trying to reproduce th
I have two minor minor suggestions for Clojure changes.
1) Consider this function:
user> (set! *warn-on-reflection* true)
true
user> (defn reader-from-classpath [s]
(-> (.getResourceAsStream java.lang.String s)
(java.io.InputStreamReader.)
(java.io.BufferedReader.)))
Reflection warn
On Aug 31, 4:44 pm, wangzx wrote:
> Is there other APIs like the Sequence but provide stream-like API?
You can try this, which I've used on short files recently:
(defn #^Class class-identity [#^Class c] c)
(defn #^java.io.BufferedReader reader-from-classpath [#^String s]
(-> (. (class-ident
On Sep 1, 11:10 am, Lauri Pesonen wrote:
> I just wanted to point out that the Java Properties class inherits
> Hashtable which is already (into) compatible, i.e.
>
> user> (let [props (. System getProperties)]
> ((into {} props) "os.arch"))
> "x86"
Ok. That is certainly a more concis
On Sep 1, 5:03 pm, Terrance Davis wrote:
> Okay. Here's some additional information.
>
> I have tried on OS X 10.6 and Vista and no dice either place. I am NOT
This works for me on Mac:
krukow:~/examples$ ls -R
classes clojure.jar src
./classes:
./src:
clojure
On Sep 1, 7:36 pm, John Harrop wrote:
> Why is there a call to identity at all? Why not just (. java.lang.String
> getResourceAsStream s)?
If I understand correctly this is because there is only one special
form for Java access called "dot", written: .
At http://clojure.org/java_interop it i
On Sep 2, 5:02 pm, Krukow wrote:
> Or if you like "point-free" style
> (into {}
> (filter (comp even? second)
> {:dog 5 :cat 4 :mouse 7 :cow 6}))
> =>
> {:cat 4, :cow 6}
Saving a few chars, and perhaps more readable:
user> (into {}
On Sep 2, 1:44 am, Richard Newman wrote:
> Conrad,
>
> (into {}
> (filter (fn [[key val]]
> (even? val))
> {:dog 5 :cat 4 :mouse 7 :cow 6}))
>
> =>
> {:cat 4, :cow 6}
Or if you like "point-free" style
(into {}
(filter (comp even? second)
{:dog 5
Hello,
At some point I needed at "flatten" function taking a list of atomic
elements or nested lists, and producting a "flat" list of only atomic
elements (in the same order). It should be lazy.
This is what I came up with. Can anyone see a more elegant solution (I
feel I am working "low-level" s
On Sep 3, 1:13 am, Sudish Joseph wrote:
> The other solutions seem higher level, but it's worth noting that
> destructuring -- (let [[x & xs] lst] ...) -- uses next and is therefore
> not fully lazy in that you will peek ahead by one into the lazy
> sequence, so to speak. You have to use explic
On Sep 2, 7:02 pm, tmountain wrote:
> (defn generate-chain [source]
> (loop [the-list (map #(list (first (split-at 2 %)) (last %))
> (partition 3 1 (.split (.replace source "\n" "
> ") " ")))
> res (hash-map)]
> (if (empty? the-list)
> res
> (rec
I was thinking about the capability of changing production systems on
the fly. E.g. by having an accessible repl in a running production
system.
If you have a bug in a function, you can fix it by re-def'ing it -
that is great. However, suppose you want to do a system upgrade where
you want to cha
On Sep 4, 1:38 pm, Christophe Grand wrote:
> You have to be prepared to deal with potential inconsistencies: a
> closure (or any object) can hold a reference to the value of a
> function.
OK - I realized this already for running threads, e.g., executing a
function where a var means one thing the
I am digging somewhat into Clojure internals for a talk I'm doing. Now
I've reached the LockingTransaction class, and have a few questions, I
hope someone can answer.
In some of the Clojure presentations it says that "Readers never
impede writers/readers, writers
never impede readers". What does
On Sep 5, 8:18 pm, Rich Hickey wrote:
> Given sufficient history, readers will not be retried due to the
> activity of writers. It is true that while history is being
> dynamically acquired there may be retries. Unless you have some
> pathological transaction relationships, that history acquisi
On Sep 5, 6:55 pm, Mark Volkmann wrote:
> I have lots of detail on this in my article
> athttp://ociweb.com/mark/stm/article.html.
Yes, it's bookmarked in the "TO READ" group :-) I just want to be
precise in my presentation.
> I'd say it means "block" as in wait until the other finishes.
Bu
After a discussion in dcug about the write-skew anomaly, I wanted to
write a program exhibiting the anomaly, together with a similar
program using ensure to eliminate it.
My program doesn't work: it exhibits the anomaly, but ensure doesn't
fix it, and neither does adding a validator to the refs.
On Sep 15, 10:23 pm, Mark Volkmann wrote:
> I think the problem is that you only ensure one of the Refs. If you
> want to make sure that a condition between multiple Refs isn't
> violated, you need to sure all of them. Otherwise other transactions
> will be free to modify the Refs that aren't e
On Sep 16, 12:32 am, Timothy Pratley wrote:
> I ran program #1 and #2 on Clojure 1.1.0-alpha-SNAPSHOT from git
> -> program #1 output skew
> -> program #2 no output
>
> What version are you using? Could be something that's been fixed
> recently.
I was running a fairly recent, but not the lates
On Sep 16, 11:15 am, Christophe Grand wrote:
> I think you managed to produce a deadlock :-(
>
> thread 1 is commiting and has a write lock on a1
> thread 2 is commiting and has a write lock on a2
> thread1 tries to acquire a read lock on a2 (in the validator) and blocks
> because thread2 has a
On Sep 16, 10:06 pm, Rich Hickey wrote:
> On Sep 16, 11:39 am, Stuart Halloway
> wrote:
>
> > The docs could be more clear, but if validate-fn must be side effect
> > free then it certainly can't look at any other refs.
>
> Yes. The docs should say the function must be pure. While I understa
On Sep 17, 4:46 am, Hugh Aguilar wrote:
> Greetings. I am interested in Clojure and will be reading the mailing
> list to find out what you folks are up to.
>
> My concern right now is that I don't know Java. Is this a prerequisite
> for learning Clojure? Can I program in Clojure without delving
On Sep 18, 5:53 am, Wilson MacGyver wrote:
> This blog post got me
> thinking.http://www.artima.com/weblogs/viewpost.jsp?thread=268561
>
> Basically it contains both a Java one liner and Scala one liner.
>
> Java:
> for(int i=0; i<4; i++) { System.out.println("Happy Birthday " + (i==2
> ? "Dea
On Sep 18, 6:24 am, Wilson MacGyver wrote:
> Hmmm, your solution produces nils in REPL.
>
> user=> (map #(printf "Happy Birthday %s\n" (if (= 2 %) "Dear XXX" "To
> You")) (range 4))
> (Happy Birthday To You
> Happy Birthday To You
> nil Happy Birthday Dear XXX
> nil Happy Birthday To You
> nil
On Oct 1, 10:17 pm, John Harrop wrote:
> > @conference{hickey2008clojure,
> > title={{The Clojure programming language}},
> > author={Hickey, R.},
> > booktitle={Proceedings of the 2008 symposium on Dynamic languages},
> > year={2008},
> > organization={ACM New York, NY, USA}
> > }
>
> Eeeu
On Oct 8, 3:43 am, Timothy Pratley wrote:
> Atoms can't do this, as they are synchronous (called and returned
> immediately) - hence the warning about potentially being called
> multiple times.
The reason that swap! may "fail" is that it is performing a compare-
and-swap operation which may fa
On Oct 10, 7:10 am, Paul Nakata wrote:
> I've tried the ELPA install method and installing with sources from
> git and get this error. I'm currently set up with everything in ~/src/
> and I've pulled everything from git using the directions
> fromhttp://riddell.us/tutorial/clojure/clojure.htm
On Nov 12, 1:10 pm, Rich Hickey wrote:
> An early version of the code for a few important new language
> features, datatypes[1] and protocols[2] is now available in the 'new'
> branch[3]. Note also that the build system[4] has builds of the new
> branch, and that the new branch works with curren
On Nov 19, 12:01 am, samppi wrote:
> Question: are the general mechanisms for accessing and setting fields
> their keywords and assoc respectively:
> (deftype Bar [a b c d e])
> (def b (Bar 1 2 3 4 5))
> (:c b)
> (def c (assoc b :e 2))
> Does (:c b) and (assoc b :e 2) take advantage of Bar
On Nov 20, 8:51 pm, Chouser wrote:
> On Thu, Nov 19, 2009 at 12:39 PM, Krukow wrote:
[snip]
> > I guess I am just asking if the performance guarantees are those I
> > would expect of Clojure (i.e., "too fast" ;-))
>
> This is definitely still too fast.
On Nov 20, 5:24 pm, Rich Hickey wrote:
> Yup. The fixed field access to deftypes via keyword literal lookup is
> the fastest offered by any Clojure data structure.
>
> Rich
While we are talking performance. Is there a simple way to explain the
performance characteristics of protocols versus int
s.krukow/circuit-breaker "0.1"
:dependencies [[org.clojars.krukow/clojure-1.1.0-alpha-snapshot
"75cd05080f7260c54007d7728fb280ae53b56f63"]])
I ran deps:
krukow:~/Projects/clojure/circuitbreaker$ lein deps
[copy] Copying 1 file to /Users/krukow/Projects/clojure/
circuitbreaker/lib
On Nov 12, 1:10 pm, Rich Hickey wrote:
> An early version of the code for a few important new language
> features, datatypes[1] and protocols[2] is now available in the 'new'
> branch[3]. Note also that the build system[4] has builds of the new
> branch, and that the new branch works with curren
mbination of varargs and protocol functions:
krukow:~/emacs/clojure/clojure$ rlwrap java -cp
clojure-1.1.0-75cd05080f7260c54007d7728fb280ae53b56f63.jar
clojure.main
Clojure 1.1.0-alpha-SNAPSHOT
user=> (defprotocol P (foo [x & args]))
P
user=> (deftype T [x])
#'user/T
user=> (extend ::T P
On Nov 24, 4:55 am, Allen Rohner wrote:
> The first stumbling point I reached is that deftypes provide an
> automatic implementation for IPersistentMap, but not IFn. I attempted
> to write (instance key), which exploded, but (key instance) works just
> fine. My existing code uses (instance key)
On Nov 24, 12:01 pm, kony wrote:
> Hi,
>
> I found that resolve does not work correctly (I guess) when it is
> called from other thread than main:
I guess your new thread also has the root binding for *ns* the current
namespace, which apparently is core
user=> (.start (new Thread #(println *ns*
Three concurrent replies. We'd be better off using locks :-)
--
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
f
On Nov 14, 5:42 pm, André Thieme wrote:
> But in real programs things are not so easy. We have refs in refs.
This is just a thought experiment. But what about actually having refs
in refs? I'm not sure if I am reinventing mutable object here, so
please shoot me down ;-)
Clojure 1.1.0-alpha-SNA
On Nov 24, 7:50 pm, Krukow wrote:
> On Nov 14, 5:42 pm, André Thieme wrote:
>
> > But in real programs things are not so easy. We have refs in refs.
>
> This is just a thought experiment. But what about actually having refs
> in refs? I'm not sure if I am reinventi
On Nov 24, 9:45 pm, kony wrote:
> On 24 Lis, 18:07, Krukow wrote:
>
> > Three concurrent replies. We'd be better off using locks :-)
>
> Three concurrent replies but each of them brings something new ;)
> Thank you very much for all of them!
>
> ... what is th
On Dec 1, 2:42 am, Rich Hickey wrote:
> I have done a lot of work on performance, and refined the design. The
> big news is that you can now directly implement a protocol inside a
> deftype, and you can also reify protocols. This cements protocols as
> the superior way to model the things for wh
On Dec 1, 10:56 pm, Rich Hickey wrote:
[snip]
> There are 2 ways to make a deftype reach a protocol. First, you can
> implement the protocol directly in the deftype/reify, supplying the
> protocol where you do interfaces, and the methods of the protocol as
> methods of the type. The type will be
Thanks for sharing the insights.
/Karl
--
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 post.
To unsubscr
I am writing a function that has to wrap other code. One simple
approach is to do
user> (defn wrap-fun [f]
(fn [& args]
(println "pre-processing")
(let [res (apply f args)]
(println "post-processing")
res)))
#'user/wrap-fun
user> (def w (wrap-fun
Doh...
--
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 post.
To unsubscribe from this group, send email t
On Dec 11, 12:21 am, Dragan Djuric wrote:
> HI,
>
> I have just watched Rich's QCon talk and in some parts he is referring
> to the slides that are not displayed in the video. Of, course, the
> talk is perfectly fine without that, but I need to understand some
> specific tricky details, and I beli
On Dec 16, 6:33 pm, tsuraan wrote:
> Does anybody have a download link for the QCon talk that is linked
> from the clojure front page? I tend to use platforms where Flash
> support is even worse than normal, whereas mplayer tends to be very
> good at playing videos on every machine I use.
If yo
On Dec 17, 9:09 pm, Rich Hickey wrote:
> There is now a release candidate for Clojure 1.1:
>
> http://clojure.googlecode.com/files/clojure-1.1.0-rc1.zip
>
> and also a new "1.1.x" branch in git corresponding to the release.
>
> Please try these out ASAP and provide feedback here.
>
> Thanks much!
On Jan 2, 4:03 pm, ianp wrote:
> Yes, exactly. This is the problem with a Java based version (at least
> with one that uses the standard collections libraries). At the very
> least your reporting function would have to make a complete copy of
> the world state while holding the lock, it could t
On Jan 10, 6:21 pm, Dragan Djuric wrote:
> Is this on purpose (and what is the reason), or it's just that nobody
> thought that would be useful?
>
> Of course, I am talking about the read-only access to the history.
[snip...]
To minimize memory consumption, refs only keep history if it is neede
On Jan 22, 2:27 am, ajay gopalakrishnan wrote:
> Is this the preferred way of debugging in Clojure?
Please don't top post.
I've heard people have success with regular debuggers, e.g. JSwat,
although I haven't tried this myself...
/Karl
--
You received this message because you are subscribed
Hello,
a colleague of mine asked me a question about clojures set
implementation performance. He needed an immutable set on the jvm
platform for a Java/Scala project, and since I've been saying that
Clojures data structures have good performance he tried clojures set.
He was dissapointed though :-(
On Mar 29, 10:21 pm, Krukow wrote:
> Hello,
[snip..]
> What was surprising to me wasn't that "inserts" are slower - that is
> ok and it could be improved with transients. The surprising thing was
> that iterating through the entire set was significantly slower.
[sn
On Apr 2, 3:28 pm, Chas Emerick wrote:
> As Clojure moves towards being self-hosted, fewer and fewer of the
> data structures will be implemented in Java, thereby ensuring
> dependence on the Clojure runtime. Just FYI.
Yes, I've realized that as well :-) I would have to maintain a Java
"ba
On Apr 5, 3:06 pm, ineol wrote:
> It has nothing to do with Clojure but your colleague can look at the
> Google collection library that contains an
> ImmutableSet.http://guava-libraries.googlecode.com/svn/trunk/javadoc/com/google/co...
Yes, there is also Scalas data structures (he was using th
On Apr 22, 6:53 pm, Rich Hickey wrote:
[snip..]
> Feedback and errata welcome as always,
>
1) Typo on http://clojure.org/protocols:
Section "Basics"
defprotocol will automatically generate a corresponding interface,
with the same name as the protocol, i.e. given a protocol my.ns/
Protocol, an in
de at github:
-
http://github.com/krukow/clojure-circuit-breaker/blob/master/src/net/higher_order/integration/circuit_breaker/states.clj
-
http://github.com/krukow/clojure-circuit-breaker/blob/master/src/net/higher_order/integration/circuit_breaker/atomic.clj
Ideas being that (wrap-with (fn ..)
On May 5, 2:54 pm, Robert Luo wrote:
[snip]
> (repeated-seq #(range % 5) 0)
>
> the elements are: 0 1 2 3 4 4 5 6 7 8 8 ...
I think you mean,
(def s (repeated-seq #(range % (+ % 5)) 0) )
> However, I want to get rid of the duplicated index element (4, 8 etc),
> e.g.
> To produce 0 1 2 3 4 5
On May 5, 2:40 pm, klathrop wrote:
[snip]
> Its the RecommenderBuilder that's giving me trouble. I've tried using
> proxy with no luck. Any suggestions?
Can you post the code that fails?
/Karl
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To po
xtend ClosedState CircuitBreakerTransitions ...)
Blog: http://blog.higher-order.net/2010/05/05/circuitbreaker-clojure-1-2/
Code: http://github.com/krukow/clojure-circuit-breaker
> Specifically, what I'd like to know is:
>
> - How to define and access member data fields -also mut
On May 28, 9:59 pm, "Sina K. Heshmati" wrote:
> Hi Krukow,
[snip]
> The only member data _I'm_ able find are the ones that are passed to the
> default constructor, namely at the time that the abstraction is reified. What
> if I'd have to give create a memb
On Thursday, November 14, 2013 11:40:08 PM UTC+1, Jacob Mortensen wrote:
>
> I do clojure+clojurescript hobby programming at home. I live in
> copenhagen. It seems there is a clojure user group here in copenhagen, but
> I havent been able to locate it.
>
We've started to write some of the concu
Hi,
Kind of an unusual question, but is anyone in this group aware of a c,
objective-c or LLVM-based implementation of the Clojure persistent data
structures?
- Karl
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
I would like to hear the groups opinion before (and if) I release this
to the general public.
http://github.com/krukow/clj-ds
README:
...
*WHY*
First, I love Clojure :) ...
Unfortunately sometimes clients require that I use Java...
The data structures used in the Clojure programming language
On Jun 8, 3:11 pm, B Smith-Mannschott wrote:
> Yes please!
OK :)
> One nit: you probably didn't mean to check in your build products. The
> classes directory is full of *.class files.
No, I didn't want the class files - I was a bit fast on the commit.
I'll clean it up.
/Karl
--
You receiv
On Jul 4, 8:51 am, Adrian Cuthbertson
wrote:
> I've tried every permutation of type hinting, but cannot get rid of
> those warnings.
>
> Any ideas?
>
> -Thanks, Adrian.
Notice this:
user> (set! *warn-on-reflection* true)
true
user> (import '(java.io File))
java.io.File
user> (definterface IFil
On Jul 11, 11:55 am, stewart wrote:
> Hi All,
>
> Has anybody considered implementing Clojure on BEAM. Are there any
> works or current attempts currently available?
>
> In your view where are the real trip ups for this to happen.
Instead you should take a look at Erjang
/karl
--
You receive
oen't become the current repl in the Emacs session.
Example.
krukow:~/workspaces/trifork/intrafoo_clj$ cat project.clj
...
:dev-dependencies [[swank-clojure "1.2.1"]
[org.clojars.gjahad/debug-repl "0.3.0-SNAPSHOT"]
[cdt
On Jul 21, 8:47 am, Ramakrishnan Muthukrishnan
wrote:
> On Wed, Jul 21, 2010 at 11:52 AM, Krukow wrote:
>
> > I am interested in getting the combination of Emacs+slime+swank-
> > clojure, alex-and-georges.debug-repl and clojure debugging toolkit to
> > work together.
&
dr-1-1001 => c
"bar"
dr-1-1001 => (quit-dr)
alex_and_georges.debug_repl.proxy$java.lang.Exception$Enumeration
$f482e887
dr-1-1001 => b
"foo"
dr-1-1001 => c
"bar"
dr-1-1001 => (exit-dr)
java.lang.Throwable: Exiting back to main repl from debug-repl
dr-1-1001
On Jul 21, 4:02 pm, Ramakrishnan Muthukrishnan
wrote:
> On Wed, Jul 21, 2010 at 6:04 PM, Krukow wrote:
> > 0: com.trifork.intrafoo.clj.extract_contacts
> > $extract_all.invoke(NO_SOURCE_FILE:1)
> > Locals:
> > pref = /Users/krukow/workspaces/trifork/in
On Jul 23, 6:19 am, George Jahad wrote:
[snip]
> as i explained above you have to use swank/break with case 3.
>
> in addition to these 4 cases, it sounds like you are having a problem
> viewing the local java object, which is why i suggested using the
> vanilla debug-repl. I want to see if it
On Jul 23, 3:59 pm, "Hugo Duncan"
wrote:
> On Fri, 23 Jul 2010 02:35:13 -0400, Krukow wrote:
> > So I guess the problem is in swank/break.
>
> Should be fixed in 1.3.0-SNAPSHOT now.
>
> --
> Hugo Duncan
I've verified that it works here. Thanks for
On Aug 2, 3:50 pm, Baishampayan Ghose wrote:
> Hello,
[snip..]
> The documentation says "defrecord provides a complete implementation
> of a persistent map". If a record is analogous to a map, why can't we
> treat it as one?
>
> If it's not a bug, what is the rationale behind it?
>
> Regards,
> B
On Aug 4, 5:33 pm, Alex Tkachman wrote:
> Guys,
>
> Thanks fo reference. I am still be curious if it should be done
> directly in Clojure runtime and available if clojure.jar is in
> classpath
>
Hello Alex,
You can easily use clojure.jar but there are a number of disadvantages
when all you use
On Aug 4, 3:51 pm, Matt Fowles wrote:
> Alex~
>
> There is a project on github that does exactly this.
>
> http://github.com/krukow/clj-ds
>
> I don't know much about the current state of it, but I have plans in the
> next month or so to try it out at work.
>
&g
1 - 100 of 144 matches
Mail list logo