On Sat, 2009-08-22 at 23:58 -0700, bradford cross wrote:
>
>
> On Sat, Aug 22, 2009 at 11:24 PM, Michel Salim
> wrote:
>
> On Sat, 2009-08-22 at 23:00 -0700, bradford cross wrote:
>
> >
> > Destructuring is useful all over the place, not just for
>
On Sat, Aug 22, 2009 at 11:24 PM, Michel Salim
wrote:
>
> On Sat, 2009-08-22 at 23:00 -0700, bradford cross wrote:
>
> >
> > Destructuring is useful all over the place, not just for pattern
> > matching. For example, it is really useful in function parameter
> > vectors.
>
> I consider that to be
On Sat, 2009-08-22 at 23:00 -0700, bradford cross wrote:
>
> Destructuring is useful all over the place, not just for pattern
> matching. For example, it is really useful in function parameter
> vectors.
I consider that to be an example of pattern matching, though.
--
Michel
--~--~---
On Sat, Aug 22, 2009 at 2:08 AM, Sigrid wrote:
>
> Hi Meikel, hi all,
>
> thanks for the explanation, I think I got it now. I suppose something
> in the sentence I quoted led me to think that pattern matching was
> "less" in a way than destructuring, whereas in fact it seems to be the
> opposite
On Fri, 2009-08-21 at 22:26 -0700, James Sofra wrote:
> This seems like a pretty nice pattern matching implementation for
> Clojure.
> http://www.brool.com/index.php/pattern-matching-in-clojure
>
Beautiful!
Cheers,
--
Michel
--~--~-~--~~~---~--~~
You received
This seems like a pretty nice pattern matching implementation for
Clojure.
http://www.brool.com/index.php/pattern-matching-in-clojure
Cheers,
James
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To
> There is a slight performance penalty over a normal function call. I
> think the dispatching takes one function call, a hash lookup, and an
> equality test.
Strictly speaking, an isa? test. That's where the ad hoc hierarchy
functionality ties in.
--~--~-~--~~~--
Hi Meikel, hi all,
thanks for the explanation, I think I got it now. I suppose something
in the sentence I quoted led me to think that pattern matching was
"less" in a way than destructuring, whereas in fact it seems to be the
opposite - pattern matching seems to presuppose destructuring if I'm
c
On Aug 21, 5:55 pm, Michel Salim wrote:
> Is there a performance hit with this style (due to using multimethods)
> or will this be optimized away in practice?
There is a slight performance penalty over a normal function call. I
think the dispatching takes one function call, a hash lookup, and a
On Fri, 2009-08-21 at 12:50 -0700, Kevin Downey wrote:
> user=> (defmulti length empty?)
> #'user/length
>
> user=> (defmethod length true [x] 0)
> #
>
> user=> (defmethod length false [x] (+ 1 (length (rest x
> #
>
> user=> (length [1 2 3 4])
> 4
>
Très cool! This could be applied to Meike
Hi,
Am 21.08.2009 um 20:02 schrieb Sigrid:
Could someone point me to what the difference is? I know pattern
matching e.g. from the PLT scheme implementation, and there the
pattern matching also provides the binding and destructuring I
think...?
The difference is, that in pattern matching you
user=> (defmulti length empty?)
#'user/length
user=> (defmethod length true [x] 0)
#
user=> (defmethod length false [x] (+ 1 (length (rest x
#
user=> (length [1 2 3 4])
4
On Fri, Aug 21, 2009 at 12:41 PM, Michel
Salim wrote:
>
> On Fri, 2009-08-21 at 11:02 -0700, Sigrid wrote:
>> Hi,
>>
>
On Fri, 2009-08-21 at 11:02 -0700, Sigrid wrote:
> Hi,
>
> I read the related story on InfoQ and found it an extremely
> interesting and motivating read, Clojure being applied in such an
> interesting field as machine learning!
>
> There is something in the article I'd like to understand better,
Hi,
I read the related story on InfoQ and found it an extremely
interesting and motivating read, Clojure being applied in such an
interesting field as machine learning!
There is something in the article I'd like to understand better, so
i'm just asking here on the group:
"The way that Rich elec
bradford cross writes:
> Hi Chad, yep, that was me. We do hope to open source some stuff soon.
>
> First will probably be our wrappers for cascading/hadoop and s3.
Those would be of great interest to many of us. Please do.
--J.
--~--~-~--~~~---~--~~
You receive
On Fri, Aug 14, 2009 at 3:10 PM, bradford
cross wrote:
> We have just released flightcaster.com which uses statistical inference and
> machine learning to predict flight delays in advance of airlines (initial
> results appear to do so with 85 - 90 % accuracy.)
>
> The webserver and webapp are all
On Aug 14, 2009, at 3:10 PM, bradford cross wrote:
> We have just released flightcaster.com which uses statistical
> inference and machine learning to predict flight delays in advance
> of airlines (initial results appear to do so with 85 - 90 % accuracy.)
>
> The webserver and webapp are all
On Fri, Aug 14, 2009 at 7:18 PM, bradford cross
wrote:
> Hi Chad, yep, that was me. We do hope to open source some stuff soon.
>
> First will probably be our wrappers for cascading/hadoop and s3.
>
> Next might be some core language extensions which might be good in contrib
> or some other lib.
>
Hi Chad, yep, that was me. We do hope to open source some stuff soon.
First will probably be our wrappers for cascading/hadoop and s3.
Next might be some core language extensions which might be good in contrib
or some other lib.
If we release any basic stats or machine learning stuff we may try
Bradford,
I just bought the iPhone app. Looks very cool.
I saw a presentation at the JavaOne after-meeting with Rich Hickey about
flightcaster. Were you the presenter? The machine learning notation seemed
to work very well in Clojure. Are there any portions of this cool stuff
that you can shar
whoa...missed the google spellcheckers' warning on: paralleizm ... although
that may be the proper lolkidde spelling :-)
On Fri, Aug 14, 2009 at 12:10 PM, bradford cross wrote:
> We have just released flightcaster.com which uses statistical inference
> and machine learning to predict flight dela
We have just released flightcaster.com which uses statistical inference and
machine learning to predict flight delays in advance of airlines (initial
results appear to do so with 85 - 90 % accuracy.)
The webserver and webapp are all rails running on the Heroku platform; which
also serves our black
22 matches
Mail list logo