Thanks. It would be nice if KirinDave id put a notice up. Also, it
would be nice if when you search for clj-time and go to getwoven
rather than 404-ing it pointed to your version.
I have an idea.
I notice that you have a pointer to Clojars under Installation. This
seems like a nice standard for p
Yep, exactly what I did. Thank you all!
On Nov 20, 4:32 pm, Sean Corfield wrote:
> On Sat, Nov 19, 2011 at 7:28 PM, Randy Pensinger
> wrote:
> > user=> (def stringComparator
> > (comparator (fn [a b]
> > (do
> > (println (str "comparing '" a "' to '" b "'"))
> >
Hi Alan,
Good catch. This raises a question though: why do deftype and extend-type
take subtly different forms for methods with multiple arities?
;; deftype only works like this:
(foo [this] 1)
(foo [this x] 2)
;; extend-type only works like this:
(foo
([this] 1)
([this x] 2))
On Sat, Nov 19, 2011 at 7:28 PM, Randy Pensinger wrote:
> user=> (def stringComparator
> (comparator (fn [a b]
> (do
> (println (str "comparing '" a "' to '" b "'"))
> (.compareTo a b)
> #'user/stringComparator
The docs indicate comparator tak
I think you might be using comparator incorrectly. It appears to expect a
function that returns a true/false value:
user> (source comparator)
(defn comparator
"Returns an implementation of java.util.Comparator based upon pred."
{:added "1.0"}
[pred]
(fn [x y]
(cond (pred x y) -1 (p
Hello guys,
I would like to try out this library, but ran into a problem with Clojure
1.3, 'lein repl' throws an exception, when:
*user=> (use 'probabilistic-clojure.monadic.demos)*
*user=> (test-mixture mixture-mem)*
*Trying to find valid trace ...*
*Starting MH-sampling.*
*Illeg
I am having a lot of trouble finding a place to mention a possible
clojure bug. Is this it?
I am trying to write a custom comparator, but the comparator never
seems to work. I simplified the comparator below.
user=> (def stringComparator
(comparator (fn [a b]
(do
The correct way to write this extend-type is
(extend-type MyType
MyProtocol
(something
([this] 1)
([this x] x)))
The version you posted doesn't work in JVM-Clojure either; I don't
have CLJS handy, but I suspect that this version will work fine there.
On Nov 20, 11:36 am, David Nolen
On Sunday, November 20, 2011 6:17:13 AM UTC-5, robermann79 wrote:
>
> FYI: some time ago the Opensuse project used such a collaborative tool
> (http://www.co-ment.com) in order to get a shared mindset of its
> goals.
> This was the result, see how clicking on higlight words points to
> their commen
On Sunday, November 20, 2011 5:50:31 AM UTC-5, thorwil wrote:
>
> I'm following one or the other Free Software project where an incredible
> amount of discussions happen regarding work-flow and features. So much
> thought, so many decisions on details, but for the most part, the
> implementation
Thanks! Patches welcome as well :)
David
On Sun, Nov 20, 2011 at 2:07 PM, Jeff Valk wrote:
> Issue opened: http://dev.clojure.org/jira/browse/CLJS-104.
>
> Cheers,
> Jeff
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this gro
Issue opened: http://dev.clojure.org/jira/browse/CLJS-104.
Cheers,
Jeff
--
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 from new members are moderated - please be patient w
Please open a ticket for this in JIRA, thanks -
http://dev.clojure.org/jira/browse/CLJS
David
On Sun, Nov 20, 2011 at 12:33 PM, Jeff Valk wrote:
> Hello all,
> I ran into an extend-type issue with the ClojureScript compiler output. If
> there's a better place to report such things, please point
Hello all,
I ran into an extend-type issue with the ClojureScript compiler output. If
there's a better place to report such things, please point me there.
If I define a protocol method with multiple arities, implementing it using
deftype works as expected, however extend-type does not. The forme
On Sun, Nov 20, 2011 at 11:53 AM, Robert Levy wrote:
> See: http://gallium.inria.fr/~naxu/research/dana-phd.pdf
>
> What do you think about this idea? I have just started reading the above
> pdf... I don't see much of interest when googling for '"static contract"
> Racket' but that would be a cl
I have been thinking about the discussion of "queryable programs" from
Rich's keynote at Clojure Conj. This meaning of this idea is probably more
well-defined for other people than it is in my present understanding, but
my sense from the talk is that the analysis phase of compilation will
leverage
On Sat Nov 19 13:46 2011, Andrew Brehaut wrote:
> I have written a new brush for the javascript Syntax Highlighter to
> replace sh-clojure. Rather than using the typical regex system, it has
> a full parser and simple form annotator. This should result in
> significantly better highlighting than ea
FYI: some time ago the Opensuse project used such a collaborative tool
(http://www.co-ment.com) in order to get a shared mindset of its
goals.
This was the result, see how clicking on higlight words points to
their comments:
https://lite.co-ment.com/text/lNPCgzeGHdV/view/
On Sat, Nov 19, 2011 at 1
On 11/19/2011 10:21 PM, Daniel Jomphe wrote:
With the tools available to us today, there's no reason why we at least
shouldn't have everything needed to make literate programming more
seamless, more natural. For example, while reading your toy example, I
found myself wanting to ask a question or
19 matches
Mail list logo