You might also enjoy the talk 'Where Good Ideas Come From' ;)
http://www.youtube.com/watch?v=NugRZGDbPFU&feature=share
On Jun 9, 2:09 pm, Brian Marick wrote:
> On Jun 9, 2011, at 3:27 PM, Jules wrote:
>
> > I'd also like to say this - TAKE THE HAMMOCK BIT SERIOUSLY - there is a
> > growing bod
Last night, I had the chance to talk about some of the technologies
I've put together in a recent project.
In particular, it's about mixing clojure + cqrs + event sourcing +
cep.
I made slides available at http://tinyurl.com/pedroqcon -- and I'll
soon publish a sample demo on github.
(cheers)
On Jul 21, 9:59 pm, Pedro Teixeira wrote:
> On Jun 22, 6:23 pm, Krešimir Šojat wrote:
>
> > While traversing the data structure both prewalk and postwalk remove
> > all the metadata:
>
> > user=> (require '[clojure.walk :as w])
> > nil
> &g
On Jun 22, 6:23 pm, Krešimir Šojat wrote:
> While traversing the data structure both prewalk and postwalk remove
> all the metadata:
>
> user=> (require '[clojure.walk :as w])
> nil
> user=> (def data {:a ^{:a :this-is-a} [1 2 3]})
> #'user/data
> user=> (meta (:a data))
> {:a :this-is-a}
> user=>
On Jul 14, 4:09 pm, Michał Marczyk wrote:
> If you're ok with discarding all your methods for the given multi, you can do
>
> (ns-unmap the-ns-of-defmultiname-of-the-multimethod)
>
> (I'm not sure if you should also unmap it in namespaces which refer to
> that Var just now...)
>
> Then the entire
What's the idiomatic way to handle cases where one has a macro rather
than a function?
For example:
intent is as follows but does not work:
(def args [false true false])
(apply or args)
alternatives?
a> (eval `(or @~args))
b> (reduce #(or %1 %2) args)
any recommended?
thanks,
Pedro
On J
Hi,
The following seems like it was not intended, please let me know if it
is intended.
user> (use 'clojure.test)
user> (testing (defrecord R []) (new R) )
[exception: Unable to resolve classname: R]
user> (defrecord R []) (new R)
[ok]
now, if we use the full class name, it works:
(testing
There is an old patch that was contributed to the list:
http://groups.google.com/group/clojure/browse_thread/thread/aa22a709501a64ac
I'm also interested in this, it would be a nice extension point have
without having to patch clojure.core.
On Jun 10, 6:58 pm, James Reeves wrote:
> On 10 June
On May 22, 9:51 pm, Pedro Teixeira wrote:
> On Apr 27, 9:45 am, Rich Hickey wrote:
>
>
>
>
>
> > On Apr 27, 2010, at 3:20 AM, Mark Engelberg wrote:
>
> > > Watching Stuart's tutorial, it looks like the automaticfactory
> > > functions for defty
On Apr 27, 9:45 am, Rich Hickey wrote:
> On Apr 27, 2010, at 3:20 AM, Mark Engelberg wrote:
>
>
>
>
>
> > Watching Stuart's tutorial, it looks like the automaticfactory
> > functions for deftypes have gone away (I'm still working with Clojure
> > 1.1, so haven't had a chance to try the latest cha
On May 22, 12:03 am, Ben Mabey wrote:
> James Reeves wrote:
> > Hi folks,
>
> > I've been experimenting with the new type system in Clojure 1.2, but
> > I've hit something of a problem. If I define a record:
>
> > user=> (defrecord Foo [])
> > user.Foo
>
> > Then I can coerce a map into a type Fo
11 matches
Mail list logo