I\'d like my Clojure program to exit when a JFrame is closed. I\'m attempting to trap and handle the close event as such:
I\'m learning to use the fantastic enlive library to do some web-scraping. I need to capture some text that may be partially highlighted. For example the html may look like:
I\'ve followed this gist, this blog post and downloaded and deployed this exa开发者_高级运维mple and in all 3 cases I get:
I am trying to use Stuart Sierra\'s do-template macro inside a defprotocol and the Clojure compiler complains that I am redefining do-template -- not what I intend:
Given several vectors, what\'s the best way to create new vectors that ove开发者_StackOverflow社区rlap by one element?
As a follow-up to my previous question, I am trying to write a macro that builds a defprotocol: (build-protocol AProtocol
I\'m learning clojure by going through project euler and am working on problem number 10 (find the sum of all the prime number below two million. I implemented a pretty literal algorithm for the sieve
Is there a \"standard\" list of metadata attributes (:author开发者_JAVA百科, :copyright, etc.) for Clojure, or do I need to read the source code :-)?
I am having an inexplicably hard time doing something that I thought was simplicity itself. I have a JAR file on my classpath. I\'m in Emacs, using a SLIME REPL, and I\'m trying to access a static fie
I have a group of futures processing jobs from a queue that involve writing to files. What\'s the idiomatic way to make sure only one future accesses a par开发者_高级运维ticular file at a time?How abo