On Nov 19, 3:44 pm, Seth wbu...@gmail.com wrote:
unfortunately doesnt work. The library loads succesfully but i still
get the error when calling add. Note that compiling on the top is a
workaround to get it working on the repl.
i added the loadlibrary to an init function which is good and i
Dear Clojure Group,
Today I took a closer look at the 'merge-with' function of Clojure
Core and changed some parts to better understand its implementation.
Now I still have two questions regarding the following code:
(defn my-merge-with [f maps]
(when (some identity
maps)
On Nov 26, 12:25 am, Sunil S Nandihalli sunil.nandiha...@gmail.com
wrote:
I just realized that we don't need to use the with-symbol-macros when using
symbol-macrolet .. but the problem persists all the same.. I have modified
the gist to reflect this change..
Sunil.
On Fri, Nov 26, 2010 at
Thought some Clojure folk might enjoy this:
http://blog.stephenwolfram.com/2010/11/100-years-since-principia-mathematica/
--
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
On 26.11.2010, at 13:46, Chris Perkins wrote:
I'm pretty sure that macro-utils predates the addition of the env
paramter. Since macro-utils takes such an aggressive approach to
macroexpansion - essentially reimplementing it entirely - it is not
too surprising that it would become out of sync
Thanks Chris for your explanation.
Sunil.
On Fri, Nov 26, 2010 at 6:16 PM, Chris Perkins chrisperkin...@gmail.comwrote:
On Nov 26, 12:25 am, Sunil S Nandihalli sunil.nandiha...@gmail.com
wrote:
I just realized that we don't need to use the with-symbol-macros when
using
symbol-macrolet ..
Hi Chris,
Thanks a lot for your clear explanations! Now all the pieces suddenly
make sense to me.
Stefan
On Nov 26, 9:30 pm, Chris Perkins chrisperkin...@gmail.com wrote:
On Nov 26, 7:42 am, Stefan Rohlfing stefan.rohlf...@gmail.com wrote:
Dear Clojure Group,
Today I took a
thanks konrad for your reply.
Sunil.
On Fri, Nov 26, 2010 at 7:01 PM, Konrad Hinsen
konrad.hin...@fastmail.netwrote:
On 26.11.2010, at 13:46, Chris Perkins wrote:
I'm pretty sure that macro-utils predates the addition of the env
paramter. Since macro-utils takes such an aggressive approach
On Nov 26, 1:42 pm, Stefan Rohlfing stefan.rohlf...@gmail.com wrote:
Question 1:
(when (some identity maps)
This expression from the original implementation checks if the
provided coll is empty.
However, why not just use (when (empty? maps) or (when (seq maps)
instead?
Note also that (seq
Dear all,
Is it already in 1.3 alpha3 (or planned before 1.3) to support
primitives as arguments and return values of members of protocols?
Best regards,
Nicolas.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Daniel Werner daniel.d.wer...@googlemail.com writes:
(some identity maps), on the other hand, checks whether there is any
non-empty map *in the coll of maps*.
By non-empty here, do you really mean non-nil? I don't see how the
identity function would tell you whether any of the maps are empty
2010/11/26 Steven E. Harris s...@panix.com
Daniel Werner daniel.d.wer...@googlemail.com writes:
(some identity maps), on the other hand, checks whether there is any
non-empty map *in the coll of maps*.
By non-empty here, do you really mean non-nil? I don't see how the
identity function
On Nov 26, 2:14 am, Ken Wesson kwess...@gmail.com wrote:
On Thu, Nov 25, 2010 at 11:10 PM, Brian Gruber br...@iheardata.com wrote:
At which point I get the following exception:
java.lang.IllegalArgumentException: Can't call public method of non-
public class: public
Lau,
I agree that it is a lot of work and no one person can do it all well.
I think that the main thing that needs to happen at this point is that
you, as the brains behind ClojureQL, should spend a little time
thinking about the best way for people to contribute back end
implementations. Maybe
Hi, i'm pretty new to clojure.
To help me to progress i'm trying to solve the kata available on
codingkata.org
I'm doing the ovie-tickets kata.
As you can se on the site, to complete this kata we need to acces to a
enum wich is a nested class.
My problem is that i'can't acces to this class. I
but this foldr can't handle the infinite list, am i right?
On Nov 8, 2:18 am, nicolas.o...@gmail.com nicolas.o...@gmail.com
wrote:
On Sun, Nov 7, 2010 at 3:28 PM, iko...@gmail.com iko...@gmail.com wrote:
2010/11/7 David Sletten da...@bosatsu.net
Or for those of you who prefer that other
On Nov 21, 3:15 pm, nickik nick...@gmail.com wrote:
-snip-
- What are the best tools to benchmark on the jvm (and optimize your
tests)
JavaStats
http://shootout.alioth.debian.org/help.php#languagex
--
You received this message because you are subscribed to the Google
Groups Clojure group.
On 26 November 2010 16:48, Laurent PETIT laurent.pe...@gmail.com wrote:
2010/11/26 Steven E. Harris s...@panix.com
Daniel Werner daniel.d.wer...@googlemail.com writes:
(some identity maps), on the other hand, checks whether there is any
non-empty map *in the coll of maps*.
By non-empty
I hope everybody is having a good weekend (esp. after Thanksgiving in
the US).
Has anybody been successful using Emacs to create an environment where
you can set a break statement and, when it is hit, you have REPL
access to the program's current environment at the point of the break?
I've tried
I've just tried installing autodoc 1.7.1 and 0.8.0-SNAPSHOT via
Leiningen and Clojars, and it seems to be missing some dependencies
(specifically org.apache.maven:super-pom:jar:2.0).
Has anyone else had this problem recently?
- James
--
You received this message because you are subscribed to
tpeng pengt...@gmail.com writes:
(defn foldr [f coll]
(reduce #(f %2 %1) (reverse coll)))
but this foldr can't handle the infinite list, am i right?
Correct. In a lazily evaluated language like Haskell you can have a
combining function which doesn't always evaluate its arguments and thus
James,
I don't know why this would be true, but something may have broken in
the underlying dependency chains. Autodoc hasn't been updated in
clojars for a very long time and does not directly depend on super-
pom.jar.
Are you using autodoc standalone or as a lein plugin?
Tom
On Nov 26, 1:09
James Reeves jree...@weavejester.com writes:
I've just tried installing autodoc 1.7.1 and 0.8.0-SNAPSHOT via
Leiningen and Clojars, and it seems to be missing some dependencies
(specifically org.apache.maven:super-pom:jar:2.0).
*sigh* This is a case of Maven being totally misleading and also
I've investigated this a little further, and it looks like I was
misinterpreting the dependency error messages.
0.8.0-SNAPSHOT doesn't work because it hasn't been uploaded to Clojars.
0.7.1 doesn't work because it references clojure-contrib
1.1.0-master-SNAPSHOT, and clojure 1.3.0-alpha3, the
Thanks for the detailed reply, Alex!
I realized my error with super-pom, but like you I was unable to
figure out why Clojure 1.3.0-alpha wasn't loading.
In any case, I'll take up your suggestion of adding an exclusion for
those libraries. It's probably something I should have thought of
doing
benjii benjiii...@gmail.com writes:
Hi, i'm pretty new to clojure.
To help me to progress i'm trying to solve the kata available on
codingkata.org
I'm doing the ovie-tickets kata.
As you can se on the site, to complete this kata we need to acces to a
enum wich is a nested class.
My
Alex Osborne a...@meshy.org writes:
benjii benjiii...@gmail.com writes:
(ns org.codingkata.unit.MyKata
(:import (org.codingkata.unit.api.BaseKataSolution)
(org.codingkata.unit.api.BaseKataSolution$Day))
(:gen-class
:extends org.codingkata.unit.api.BaseKataSolution))
On Fri, Nov 26, 2010 at 11:50 PM, Alex Osborne a...@meshy.org wrote:
The extra parens mean a prefix, like in the second example.
(:import (foo bar baz)) means import both foo.bar and foo.baz
While (:import (foo)) is meaningless, it doesn't do anything.
Perhaps a compiler warning is in order
28 matches
Mail list logo