On Jun 16, 1:42 pm, Paul Stadig wrote:
> On Tue, Jun 16, 2009 at 1:38 PM, Michel Salim wrote:
>
>
>
> > It's currently not possible to dynamically rebind functions:
>
> > (binding [+ -] (+ 5 3)) ==> 8 ;; not 2
>
> > Thanks,
>
> > --
On May 19, 12:45 pm, Cosmin Stejerean wrote:
> The second Chicago Clojure meetup will focus on a in-depth introduction to
> Clojure concepts and syntax, presented by Frederick Polgardy. You definitely
> don’t want to miss this meeting if you’re just getting started with Clojure.
> If you’re a Clo
On May 15, 4:41 pm, "Stephen C. Gilardi" wrote:
>
> Another nice benefit of Clojure's efficient vectors over lists is that
> functions that produce a collection of results can produce and store
> them in order without needing to "reverse" the result just before
> returning. Reversing is a
On May 16, 4:32 pm, Saptarshi wrote:
> Hello,
> I am totally new to Clojure and have dabbled in Scala. In Scala, it is
> possible to override the + operator ,e.g a class A can overide +.
> In Clojure, I would have a struct and not a class. Can I still
> override the + operator in Clojure?
>
In
On May 4, 5:07 pm, Christophe Grand wrote:
> Michel S. a écrit :
>
> >> (apply conj {} (map split-kv (split-pairs test-str)))
>
> > The last can be simplified by using into:
> > (into {} (map split-kv (split-pairs test-str)))
>
> It should be noted that int
On May 4, 9:03 am, Konrad Hinsen wrote:
> On May 4, 2009, at 14:23, Nathan Hawkins wrote:
>
> > This seems a little bit more like what I expected:
>
> > (map-assoc split-kv (split-pairs test-str))
>
> > -> {"baz" "3", "bar" "2", "foo" "1"}
>
> > Am I overlooking some already existing function h
to it rather than Hg.
I already have Git mirrors of the clojure and clojure-contrib
repositories; they are trivial to set up and keep up-to-date. A lot of
people here are probably doing that as well. Git even works relatively
well on Windows (I've used it lightly and not encountered a bug yet).
Hello,
Chouser has commented extensively, so I'll just put in my two cents.
On Mar 3, 6:40 am, David Sletten wrote:
>
> Incidentally, the "cond" form in roman-to-arabic-aux seems to me
> harder to read in Clojure than it would be in CL with its additional
> set of grouping parentheses. When
On Mar 1, 11:02 am, "Michel S." wrote:
> On Feb 28, 6:16 pm, linh wrote:> hello,
> > what's the common idiom in functional programming regarding checking
> > the validity of arguments to functions. i think this is called
> > defensive programming vs con
.g. PLT Scheme) have
contracts:
http://docs.plt-scheme.org/guide/contracts.html
There's a new tech report on contract checking for Haskell that might
be interesting too -- I've just started reading it:
www.cl.cam.ac.uk/techreports/UCAM-CL-TR-
s, where the idiomatic usage is that the
second thing is either another cons or the empty list, thus forming a
proper list, versus a list terminated by a dotted pair, which is an
improper list.
(list x), in both Scheme and Clojure, produces a list with one item in
it.
Regards,
--
Michel S.
--~-
On Feb 24, 10:30 pm, ".Bill Smith" wrote:
> I finally got around to writing an "unbean" function. As the name
> suggests, it's the reverse of the bean function: it takes a class and
> a map of property name/values and returns an instance of that class
> with those property values. So for examp
On Feb 24, 3:28 pm, Chouser wrote:
> On Tue, Feb 24, 2009 at 1:18 PM, Michel S. wrote:
>
> > Kanren / Mini Kanren (Mini is the version in Reasoned Schemer) are MIT-
> > licensed:
>
> >http://kanren.sourceforge.net/#Availability
>
> > so even a port is al
On Feb 24, 12:17 pm, Phil Hagelberg wrote:
> Michel Salim writes:
> > That would be really neat! I'm having a bit of trouble setting it up,
> > though:
> > - When loading a .clj file in Emacs, it automatically triggers Slime
>
> This should happen only ontestfiles, not every clojure file.
Ah,
On Feb 24, 11:03 am, Rich Hickey wrote:
> On Feb 24, 9:56 am, jim wrote:
>
> > One stepping stone to getting my parenscript-like javascript generator
> > released is to get the logic programming module released. A couple of
> > months ago, I implemented the system from "The Reasoned Schemer"
Hi James, Stuart:
I started Quiche after taking a look at Fact, actually; the difference
between what I'm proposing and Fact is that the latter is a standalone
test framework, whereas the random-testing part of Quiche (property)
and Fact (fact) could, IMHO, be built on top of test-is.
I've not s
16 matches
Mail list logo