2012/12/4 rob <r.p.l...@gmail.com>: > That was my first thought, and considered also generating a project.clj, but > after thinking about it I decided I didn't want to encourage this type of > behavior beyond REPL experimentation, so I preferred to do it in a way that > focuses on the REPL.
Hi, Really appreciate that you did it as library, and also as an nrepl middleware, so that this interesting piece of code is not stuck to a particular tool ! That said, I think the middleware, with the facility of automatically loading the libs at nrepl server startup time, is interesting ! A few questions: - if some of the contrib dependencies are already marked as deps in the project, how does that work ? What about version conflicts ? - it would be interesting to do the other way around? instead of having the middleware automagically import libraries that may or may not be of use, why not have a lein+nrepl middleware combo that automatically loads all the 'direct' dependencies declared in the current profile (no more, no less), with an option to also automatically load all the 'transitive' dependencies as well? => Would seem less magic, and also less fragile when facing version compatibility issues, etc. ? > > > On Tuesday, December 4, 2012 2:24:38 AM UTC-5, Meikel Brandmeyer (kotarak) > wrote: >> >> Hi, >> >> may I suggest a different solution? Create a meta project, which just >> depends on all the contrib libraries and specify this as a dependency in >> your project. In other parts of the world this is called a "BOM" - a bill of >> material. >> >> Kind regards >> Meikel >> > -- > 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