Re: Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

2015-05-11 Thread Alex Miller
We could, but the benefits do not seem worth the effort to me. On Monday, May 11, 2015 at 12:33:41 AM UTC-5, Jakub Holy wrote: > > Thank you, Alex. I understand and agree with the importance of publishing > to Maven Central but my question is why can't we publish *also* to Clojars? > > -- > Forg

Re: Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

2015-05-11 Thread Lars Andersen
A while back I wrote some code for clj-refactor to help out when adding a new project dependency. When you call this function, in emacs, you get a completing read of an artifact id, a completing read of available versions, and it then updates your project.clj and hotloads the new dependency int

Re: Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

2015-05-11 Thread Niels van Klaveren
Code that does consume artifacts would never be complete with just adding maven central or having libraries duplicated on clojars. It should use the repo info from lein or maven to include local, snapshot and other external repositories, like lein ancient does. -- You received this message bec

Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Max Gonzih
On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote: > Is there possibly anything else missing in the package, figwheel doesn't > appear to find the repl ns. > > > > > > lein figwheel > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom from > central >

Re: Why aren't libraries like clojure/(data.csv, ...) on clojars.org?

2015-05-11 Thread Jakub Holy
Is it so much effort? Isn't / couldn't it be a simple, automated step? -- Forget software. Strive to make an impact, deliver a valuable change. (Vær så snill og hjelp meg med å forbedre norsken min – skriftlig og muntlig. Takk!) Jakub Holy Solutions Engineer | +47 966 23 666 Iterate AS | www.ite

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Ruslan Prokopchuk
Thanks for the tip, `:libs ["lib"]` is more convenient and does not produce error. понедельник, 11 мая 2015 г., 9:52:16 UTC+3 пользователь David Nolen написал: > Enhancing :libs support was pretty finicky work so I'm not particularly > surprised by the regression. Looking into it. In the meantim

Re: separation of concerns w/o encapsulation

2015-05-11 Thread Gary Verhaegen
If your modules are becoming big and unwieldy, you can also take a step toward (conceptual) OO and have your modules be separate entities that communicate through message passing (i.e. objects, although probably closer to Erlang's processes than Java objects). Messages are the key missing piece of

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread David Nolen
As I said above, you must specify Clojure 1.7.0-beta2 as your Clojure dependency. On Mon, May 11, 2015 at 3:59 AM, Max Gonzih wrote: > On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote: > > Is there possibly anything else missing in the package, figwheel doesn't > appear to fin

[ANN] PigPen 0.3.0 - Now with Cascading!

2015-05-11 Thread Matt Bossenbroek
I'm excited to announce the release of PigPen v0.3.0, which now includes support for Cascading. PigPen is Map-Reduce for Clojure - you write idiomatic Clojure code, we compile it into an Apache Pig script or a Cascading flow that runs on Hadoop. https://github.com/Netflix/PigPen An RC build i

Re: separation of concerns w/o encapsulation

2015-05-11 Thread Brian Craft
Thanks, everyone, this has been very helpful. On Sunday, May 10, 2015 at 8:28:37 AM UTC-7, Stuart Sierra wrote: > > I find it's really the same as in any other language. Certainly if you > don't have any clearly-defined boundaries at all, you'll get a big ball of > mud. > > Encapsulation is abou

New Functional Programming Job Opportunities

2015-05-11 Thread Functional Jobs
Here are some functional programming job opportunities that were posted recently: Haskell Web Engineer at Front Row Education http://functionaljobs.com/jobs/8823-haskell-web-engineer-at-front-row-education Sr. Software Engineer at McGraw-Hill Education http://functionaljobs.com/jobs/8822-s

Is it possible to annotate an anonymous type?

2015-05-11 Thread Elric Erkose
I've been using proxy to extend a java class. Recently the class added functionality which requires an annotation to enable. Is there a way to annotate an anonymous type or do I need to switch to gen-class? -- You received this message because you are subscribed to the Google Groups "Clojure"

Re: Have a look at pretial and apply-to

2015-05-11 Thread Leon Grapenthin
It seems like this brings a syntactical improvement at runtime performance cost. Are there more examples for compositional advantages or why would you prefer functions over macros for this? E. g. I recently wrote myself arrow macros that return a functions which thread its only argument through

Re: Opinion on take-while for stateful transducers

2015-05-11 Thread Steve Miner
Not an expert, but I’ll throw out an alternative approach that might work for you. I think it’s simpler to use a transducer that calls functions rather than trying to transform an existing transducer to do the cutoff. (defn take-while-accumulating [accf init pred2] (fn [rf] (let [vstate

Re: Embedded systems and transpiling Clojure to Nim

2015-05-11 Thread John Gabriele
Alan, there was an attempt at compiling Clojure to C, https://github.com/schani/clojurec , but it hasn't been updated in a while. On Thursday, April 30, 2015 at 11:00:02 PM UTC-4, Alan Moore wrote: > > All, > > I just ran across Nim (previously Nimrod) which is a garbage collected > systems pro

Re: Embedded systems and transpiling Clojure to Nim

2015-05-11 Thread Paul deGrandis
Hi Alan, Yep, you can cross compile the output from Terra - you can even set it up to output compilations dynamically for any platform you want. Replacing LuaJIT with Lua would just be a matter of changing the library that you link when building Terra itself. As Timothy pointed out, Pixie is

Re: Embedded systems and transpiling Clojure to Nim

2015-05-11 Thread Tyler Anderson
I really like nim from just tinkering here and there. If i was looking to do what you are i'd go with nim or ocaml. Since i'm not exactly the most helpful person here i'd suggest you contact Dennis Felsing his blog is http://hookrace.net/ and his github is https://github.com/def- he'd be able

Re: Have a look at pretial and apply-to

2015-05-11 Thread Herwig Hochleitner
The compositional advantage with cojure's convention collection-arg first is pretty much the point. -> is to pretial, what ->> is to partial. The improvement is more than syntactical: pretial lets you swap out or preprocess whole arms of the computation at the value level. Macro's don't help with t

Re: What does ^:internal mean?

2015-05-11 Thread Mischov
To answer your question, ^:internal is shorthand meaning "set the :internal key of the object's metadata to true". You can read more about metadata here . On Sunday, May 10, 2015 at 2:00:10 PM UTC-5, piast...@gmail.com wrote: > > > What does ^:internal mean in this c