I just released this library for allowing functionality to be extended
via plugins:
(use 'robert.hooke)
(defn examine [x]
(println x))
(defn microscope
"The keen powers of observation enabled by Robert Hooke allow
for a closer look at any object!"
[f x]
On 11/06/2010, at 7:28 AM, James Reeves wrote:
> On 10 June 2010 22:40, Michael Jaaka wrote:
>> Not good, since if database commit fail it is too late for dosync to
>> rollback.
>> In fact database commit should somehow cooparate with dosync commit
>> which is just a case of distributed transact
On 10 June 2010 22:40, Michael Jaaka wrote:
> Not good, since if database commit fail it is too late for dosync to
> rollback.
> In fact database commit should somehow cooparate with dosync commit
> which is just a case of distributed transaction.
You're right. In which case, I don't believe ther
Hi, I've been working on some Java libraries wrappers lately and came
up with patterns on how to clojurize them. I'm wondering if you guys
got other such patterns?
Here's what I came up with:
(import 'java.lang.reflect.Modifier)
(defn clojurize-name [name]
(apply str
(interpose "-"
(
On 10 June 2010 11:26, Michael Jaaka wrote:
> Is there any way to integrate database transaction with Clojure
> transaction?
> It would be nice if operations done in memory and on database would be
> commited atomicly with the end of transaction scope in Clojure.
> Such interface had to be also aw
Not good, since if database commit fail it is too late for dosync to
rollback.
In fact database commit should somehow cooparate with dosync commit
which is just a case of distributed transaction.
On 10 Cze, 23:11, James Reeves wrote:
> On 10 June 2010 11:26, Michael Jaaka wrote:
>
> > Is there
Alex,
Great article. Thanks for posting the link.
On Thu, Jun 10, 2010 at 11:09 AM, Alex Miller wrote:
> You might be interested in a post I just put up related to agents and
> the background thread pools and some possible improvements:
>
> http://tech.puredanger.com/2010/06/08/clojure-agent-thr
On Jun 10, 2010, at 7:55 AM, Rick Moynihan wrote:
On 10 June 2010 12:32, Chas Emerick wrote:
Thanks very much, esp. for the 'nice looking' compliment. I've heard
otherwise as well, so we'll have to see what happens when I get a
"real"
designer in to take a crack at things -- not a super-hi
On 10 June 2010 12:57, Steve Purcell wrote:
> On 10 Jun 2010, at 12:22, Dave Pawson wrote:
>
>> http://richhickey.github.com/clojure-contrib/command-line-api.html
>>
>> Where might I find information on the 'cmdspec' mentioned please?
>
>
> If you click on the "source" link there is a nice example
You might be interested in a post I just put up related to agents and
the background thread pools and some possible improvements:
http://tech.puredanger.com/2010/06/08/clojure-agent-thread-pools/
IMHO, using agents should not prevent your JVM from exiting or require
the use of (shutdown-agents).
Oh sorry this if you want swank-clojure to work with the prim branch.
On Thu, Jun 10, 2010 at 10:56 AM, David Nolen wrote:
> Here's the patch.
>
>
> http://github.com/swannodette/swank-clojure/commit/8c6a037c9b62edc83c852673523e95a0b14acece
>
> On Thu, Jun 10, 2010 at 12:10 AM, David Nolen wrote:
Here's the patch.
http://github.com/swannodette/swank-clojure/commit/8c6a037c9b62edc83c852673523e95a0b14acece
On Thu, Jun 10, 2010 at 12:10 AM, David Nolen wrote:
> (defn foo [#^ARef wah])
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
On 10 June 2010 12:57, Steve Purcell wrote:
> On 10 Jun 2010, at 12:22, Dave Pawson wrote:
>
>> http://richhickey.github.com/clojure-contrib/command-line-api.html
>>
>> Where might I find information on the 'cmdspec' mentioned please?
>
>
> If you click on the "source" link there is a nice example
I have a small test app that uses agents. After I wait for all agents
to complete, the app does not exit but hangs. I'm not sure what it's
waiting for. What is it waiting for, or what am I doing wrong?
(ns agent-test)
(defn do-something
[a]
(println "something!"))
(defn run-example
[]
(p
On Thu, Jun 10, 2010 at 10:31 AM, Meikel Brandmeyer wrote:
> Hi,
>
> see
> http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/shutdown-agents
Thank you. That works. Is calling shutdown-agents after using any
agents required for all apps, or just those that await like my litt
Hi,
see
http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/shutdown-agents
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
Thanks Laurent, that explains it.
On Jun 9, 1:40 pm, Laurent PETIT wrote:
> Hello,
>
> for seqable? to be recognized by the reader, the use call should have
> been evaluated.
> But being part of the same compilation block as seqable, use is read,
> but not yet executed.
>
> HTH,
>
> --
> Laurent
> I'd happily join a "Clojure maths interest group" to work on such problems!
According to this survey math and data analysis occupies 39% of
Clojure's Problem Domain. In other words a lot of other Clojure
developers are interested in this too.
http://muckandbrass.com/web/display/~cemerick/2010/
On 10 Jun 2010, at 12:22, Dave Pawson wrote:
> http://richhickey.github.com/clojure-contrib/command-line-api.html
>
> Where might I find information on the 'cmdspec' mentioned please?
If you click on the "source" link there is a nice example at the bottom.
-Steve
--
You received this message
On 10 June 2010 12:32, Chas Emerick wrote:
> Thanks very much, esp. for the 'nice looking' compliment. I've heard
> otherwise as well, so we'll have to see what happens when I get a "real"
> designer in to take a crack at things -- not a super-high priority at the
> moment, since the site is usab
Thanks very much, esp. for the 'nice looking' compliment. I've heard
otherwise as well, so we'll have to see what happens when I get a
"real" designer in to take a crack at things -- not a super-high
priority at the moment, since the site is usable without wincing, at
the very least :-)
http://richhickey.github.com/clojure-contrib/command-line-api.html
Where might I find information on the 'cmdspec' mentioned please?
TIA
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
--
You received this message because you are subscribed to the Google
Groups "Clojure
Hi!
Is there any way to integrate database transaction with Clojure
transaction?
It would be nice if operations done in memory and on database would be
commited atomicly with the end of transaction scope in Clojure.
Such interface had to be also aware of changes made by concurrent
transactions, so
I am using Clojure to prototype integration of JasperReports in
Spring. That works very well.
JasperReports is a quite capable report generator/library (Open Source
with commercial support) which allows for the generation of pdf, MS
Office ((MS Word, Excel, Powerpoint) and Open Office documents et
On 9 June 2010 23:00, David Nolen wrote:
> On Wed, Jun 9, 2010 at 4:25 PM, frantz wrote:
>>
>> I would like to know if there is "Clojure Enhacements Proposals" list
>> ("wish list"). I would like to add something.
>>
>> Best wishes, Franis.
>
> user> (= mailing-list wish-list)
> true
> ;)
Fast b
25 matches
Mail list logo