[ANN] kibit 0.0.3
I'm happy to announce the release of kibit[1] version 0.0.3. New in this release include: * much better reporting * a more advanced rule system * more rules * bug fixes Thanks to all who have contributed! Jonas [1] https://github.com/jonase/kibit -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Initializers for AOTed deftype classes
Hi, I'm trying to define some bits of Hadoop glue using `deftype` from Clojure. I'm using Leiningen to produce an AOT-complied JAR of the generated classes. At runtime, Hadoop uses reflection to load classes specified by name in (non-code) configuration. Hadoop is able to locate and instantiate instances of the class without issue, but then: java.lang.IllegalStateException: Attempting to call unbound fn: #'byteable.api/byteable? That particular example is for a var in a different namespace, but vars in the same namespace as that which `deftype`s the class cause the same problem. If I modify the type's entry-point methods to first `(require 'deytping.namespace)`, then everything works fine. So, is this entirely expected behavior? Or am I missing something which would make initializing the defining namespace happen as part of a static initializer for the AOTed `deftype` class? Thanks! -Marshall -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Source code as metadata
Jeff Weiss writes: > From browsing git, it looks like the project.clj version hasn't been > incremented in 7 months, and the fix for closures came in after that. > If you're using serializable.fn from a maven repo, it is out of > date, AFAICT. Sorry about that; just pushed a new 1.1.2 version with the latest code from Github. -Phil -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
ANN: Swiss Arrows
Swiss arrows is a library I wrote today, providing a number of useful arrow macros. - The Diamond Wand: a generalized arrow macro for threading into any position. - The Back Arrow: ->> with its arguments reversed, convenient in some cases. - The Furcula / Parallel Furcula: branch the result of an operation in multiple directions, sequentially or in parallel. - The Double Furcula / Parallel Furcula, Double-style: the above, using ->> instead of -> - The Diamond Fishing Rod / Parallel Diamond Fishing Rod: the above, using -<> Swiss Arrows is available to try out right now at https://github.com/rplevy/swiss-arrows Feedback, ideas, and pull requests are of course very welcome. Rob -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: Swiss Arrows
Errata: I mistakenly referred to The Trystero Furcula by its former work-in-progress name (the double furcula). Just to be clear, the arrows presently included in the swiss arrows collection are: -<> The Diamond Wand <<- The Back Arrow -< , -<:p The Furcula, Parallel Furcula -<< , -<<:p The Trystero Furcula, Parallel Trystero Furcula -<>< , -<><:p The Diamond Fishing Rod, Parallel Diamond Fishing Rod On Mon, Apr 2, 2012 at 1:33 AM, Robert Levy wrote: > Swiss arrows is a library I wrote today, providing a number of useful > arrow macros. > >- The Diamond Wand: a generalized arrow macro for threading into any >position. >- The Back Arrow: ->> with its arguments reversed, convenient in some >cases. >- The Furcula / Parallel Furcula: branch the result of an operation in >multiple directions, sequentially or in parallel. >- The Double Furcula / Parallel Furcula, Double-style: the above, >using ->> instead of -> >- The Diamond Fishing Rod / Parallel Diamond Fishing Rod: the above, >using -<> > > Swiss Arrows is available to try out right now at > https://github.com/rplevy/swiss-arrows > > Feedback, ideas, and pull requests are of course very welcome. > > Rob > -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: Swiss Arrows
Ha! Love it. Ambrose On Mon, Apr 2, 2012 at 1:58 PM, Robert Levy wrote: > Errata: I mistakenly referred to The Trystero Furcula by its former > work-in-progress name (the double furcula). > > Just to be clear, the arrows presently included in the swiss arrows > collection are: > > -<> The Diamond Wand > <<- The Back Arrow > -< , -<:p The Furcula, Parallel Furcula > -<< , -<<:p The Trystero Furcula, Parallel Trystero Furcula > -<>< , -<><:p The Diamond Fishing Rod, Parallel Diamond Fishing Rod > > On Mon, Apr 2, 2012 at 1:33 AM, Robert Levy wrote: > >> Swiss arrows is a library I wrote today, providing a number of useful >> arrow macros. >> >>- The Diamond Wand: a generalized arrow macro for threading into any >>position. >>- The Back Arrow: ->> with its arguments reversed, convenient in some >>cases. >>- The Furcula / Parallel Furcula: branch the result of an operation >>in multiple directions, sequentially or in parallel. >>- The Double Furcula / Parallel Furcula, Double-style: the above, >>using ->> instead of -> >>- The Diamond Fishing Rod / Parallel Diamond Fishing Rod: the above, >>using -<> >> >> Swiss Arrows is available to try out right now at >> https://github.com/rplevy/swiss-arrows >> >> Feedback, ideas, and pull requests are of course very welcome. >> >> Rob >> > > -- > 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 with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- 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 with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en