Hi Joerg,
I am not sure I understand your question. The API class is for intraprocess
communication, not interprocess.
All API does is provide a public, supported entry point for the kinds of
things people are already doing with Var. The latter is undesirable because
using Var makes it way too ea
Hi,
In the first week I concentrated on the core datastructures of expresso.
How to construct an expression, a rule and specify a transformation ?
I wrote about it here
http://kimavcrp.blogspot.de/2013/06/gsoc-expressions-rules-and-first.html
please comment whether the user interface goes in th
Can you please provide an example for such a usw cause?
Thanks
Las
On Jun 23, 2013 1:38 PM, "Stuart Halloway"
wrote:
> Hi Joerg,
>
> I am not sure I understand your question. The API class is for
> intraprocess communication, not interprocess.
>
> All API does is provide a public, supported ent
On Jun 23, 2013 1:43 AM, "kovas boguta" wrote:
> what about the other cases? Random java objects and whatnot.
>
> Those should be output in an EDN way, though its unclear what they would
mean when read. Would there be any attempt to convey their contents or
characteristics?
Aren't you only worrie
i found example that i can do
(defmethod x 5 [y] (do stuff))
but can i do
(defmethod #(< % 10) [y] (do stuff)) somehow? like in a pattern match of
haskell/scala?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
you need a dispatch functions that produces discrete dispatch values
using your example:
(defmulti x #(cond
(< % 10) :less-than-10
;;... further conditions producing different dispatch
values
))
;; dispatch on the dispatch values
(defmethod x :less-then-10 [x]
Hi,
After I got your help last week to get my Macro working :) I tried to
expand it more:
I'm trying to parameterizing my object creation (I'm using
clojure.core.match). Source class offers multiple constructors:
(defmacro source [source-name constructor-args & meths]
(match [constructor-args
i see
thx
2013/6/23 László Török
> you need a dispatch functions that produces discrete dispatch values
> using your example:
>
> (defmulti x #(cond
>(< % 10) :less-than-10
> ;;... further conditions producing different dispatch
> values
> ))
> ;; dispatch
Due to unexpected expenses, I'm going to be unable to use my early bird
ticket to Lambda Jam (July 8-10 in Chicago). I can't get a refund, but I
can designate a substitute if anyone's interested. Please contact me off
list if so.
Thanks.
Mark
--
--
You received this message because you are sub
> By "raw data structures", you mean the concrete implementing classes, a
la clojure.lang.PersistentVector?
Yes.
"(quote 1)" ->
> {:head :list :body [quote 1]}
>
You're not going far enough with this. Here's how my code is representing
that:
{:composite :list, :items [{:value quote} {:value 1}
plugin version is 0.5.286
Am 23.06.2013 00:25, schrieb Colin Fleming:
> Which version of the IntelliJ plugin are you using? You can see this by
> opening the settings, selecting plugins then selecting the La Clojure
> plugin. In recent versions the compiler has changed and I've had
> occasional pr
This strikes me as pretty odd:
user> (let [z 1
try 2
fn* 3]
(try (let [x (fn* ([a b c] [a b c]))]
(x z try fn*))
(catch Exception e e)))
[1 2 3]
--
Ben Wolfson
"Human kind has used its intelligence to vary the flavour of drinks, which
Special forms are special when used in a list. IMO it's a bad idea to use
special forms
as local names, a caveat which is surprisingly under-documented.
Thanks,
Ambrose
On Mon, Jun 24, 2013 at 5:38 AM, Ben Wolfson wrote:
> This strikes me as pretty odd:
>
> user> (let [z 1
> try 2
Well, when used as the first element of a list. (And I certainly wouldn't
use them as local names, since that would be extremely confusing; I was
trying to verify the correctness of some code I'm working on.)
But I called these "extra-special" because, in my understanding of the
term, "special for
or even without let:
(condp re-find msg
#"^:(.*?)!.*PRIVMSG (.*) :(.*)" :>> (fn [[_ from to message]] (true-form
...)) (false-form...))
On Saturday, June 22, 2013 11:26:35 PM UTC+12, Vincent wrote:
>
> What about using condp?
>
> (condp re-find msg
> #"^:(.*?)!.*PRIVMSG (.*) :(.*)" :>> #(let
15 matches
Mail list logo