Re: TDD and lein

2015-01-08 Thread Dave Della Costa
One more suggestion as you mentioned wanting to see more output, although this may be different from what you were asking--but still worth knowing about: https://github.com/pjstadig/humane-test-output Cheers, DD On 2015/01/08 20:30, andrea crotti wrote: > Hi guys, > > I'm starting to use Cloju

Re: maya - A DSL for math and numerical stuff

2015-01-08 Thread Mikera
Very nice! People interested in this topic may also be interested in Expresso, which supports analysis / transformation of mathematically expressions in Clojure: https://github.com/clojure-numerics/expresso Extra features I would personally find interesting in this space: - Ability to use array-

Re: maya - A DSL for math and numerical stuff

2015-01-08 Thread Jacob Goodson
It's nice but take it a step further and include the order of operations On Wednesday, January 7, 2015 at 1:29:10 PM UTC-5, Divyansh Prakash wrote: > > maya - A DSL for math and numerical stuff. > > https://gist.github.com/divs1210/b4fcbd48d7697dfd8850#file-maya > -- You received this message be

Re: A (foolish) plan to re-invent IO on top of core.async

2015-01-08 Thread Zach Tellman
Aleph has always allowed that, but the latest release allows the asynchrony to be modeled using core.async channels if that's to your taste. On Wednesday, January 7, 2015 at 9:52:53 AM UTC-8, Paul deGrandis wrote: > > There was another discussion on this list regarding async IO and web > servers

Re: micrologic - A tiny, literate implementation of miniKanren/core.logic

2015-01-08 Thread David Nolen
Nothing to add other than this is really cool. David On Thu, Jan 8, 2015 at 1:56 PM, Russell Mull wrote: > Hi fellow Clojurists, > > I've been working on a small miniKanren in Clojure. It started as a port > of https://github.com/jasonhemann/microKanren. But this one is > interesting because: >

Re: TDD and lein

2015-01-08 Thread Ashton Kemerling
I've had good luck with lein prism to cut out any annoying lein startup time. Mixed in with cider when I want to run one test works nicely for me. https://github.com/aphyr/prism/ --Ashton Sent from my iPhone > On Jan 8, 2015, at 7:32 AM, Malcolm Sparks wrote: > > LISP systems work better wh

micrologic - A tiny, literate implementation of miniKanren/core.logic

2015-01-08 Thread Russell Mull
Hi fellow Clojurists, I've been working on a small miniKanren in Clojure. It started as a port of https://github.com/jasonhemann/microKanren. But this one is interesting because: - It's a literate program, with far more description and examples than actual code. - Many names have been change

Re: How to handle refactoring with TDD and mocking/stubbing

2015-01-08 Thread Allen Rohner
On Wednesday, January 7, 2015 at 2:49:50 PM UTC-6, Sean Corfield wrote: > > On Jan 7, 2015, at 10:21 AM, Allen Rohner > > wrote: > > As a design rule, I prefer making I/O fns (things that hit the DB or a > REST API), 'dumb', and perform all logic/processing in fns that just > receive plain da

Re: [ANN] modularity.org

2015-01-08 Thread Malcolm Sparks
Hi James, Yes. The idea here is that you want individual components to be able to 'contribute' groups of routes. That way, you can avoid the common practice of having one big 'god' namespace containing all the Ring routes, which is then tightly coupled to all your Ring handlers. Instead, it's nice

Re: [ANN] modularity.org

2015-01-08 Thread James Reeves
Out of curiosity, does Modular have a mechanism for abstracting groups of Ring routes? I'm wondering how much work can be shared between Modular and other projects, such as my own Duct template, which has similar ideas. - James On 8 January 2015 at 14:42, Malcolm Sparks wrote: > I've created a

Re: [ANN] modularity.org

2015-01-08 Thread Torsten Uhlmann
Awesome, thank you! 2015-01-08 15:42 GMT+01:00 Malcolm Sparks : > I've created a new website to help new Clojure developers get started with > Clojure and specifically with Stuart Sierra's component/reloaded-workflow > pattern. > > On http://modularity.org you can find documentation about modular

[ANN] modularity.org

2015-01-08 Thread Malcolm Sparks
I've created a new website to help new Clojure developers get started with Clojure and specifically with Stuart Sierra's component/reloaded-workflow pattern. On http://modularity.org you can find documentation about modular. Modular comprises :- - a set of pre-written components - a template

Re: TDD and lein

2015-01-08 Thread Malcolm Sparks
LISP systems work better when they are continually up-and-running. Take Emacs for example. Clojure systems aren't much different. I prefer to think of lein more as a launch tool than a build tool. I don't think anyone has mentioned it on this thread yet, but lots of people are using Stuart Sie

Re: TDD and lein

2015-01-08 Thread Colin Yates
Not sure if you know about them but the following are great resources for finding libraries: - http://www.clojure-toolbox.com/ - https://github.com/technomancy/leiningen/wiki/Plugins - http://clojure-libraries.appspot.com/ - https://github.com/trending?l=clojure (to keep up with the cool kid

Re: TDD and lein

2015-01-08 Thread andrea crotti
Ah great that's what I wanted, I'll try later. Does it give some feedback on what it's compiling and what is going on? I would use just cider in theory but I had some errors with namespaces (probably my fault) and more importantly it seemed that it didn't always recompiled things that were changed

Re: TDD and lein

2015-01-08 Thread Colin Yates
If you want to automate any "lein X" process then lein auto is the thing to use. However, there are a few runners which will monitor changes and then run the tests whilst maintaining a lein process so they are really quick. I personally use https://github.com/jakepearson/quickie, just start "lei

Re: TDD and lein

2015-01-08 Thread Phillip Lord
CPU is cheap these days, why not do both? I tests within CIDER when I want to. But I normally run lein test on every file change (using a inotify script, but there's probably a nicer way). This crashes a lot, for instance, when I save a half finished change, but it also tells me when I have messe

Clojure User Group Mannheim Meetup 14.01.15

2015-01-08 Thread Andreas Klein
Liebe Clojurianer, wir möchten unser nächstes User Group Meeting für Mannheim und die Umgebung ankündigen. Das nächste Treffen findet am Mittwoch den 14.01.2015 ab 19:00 Uhr im Raumzeitlabor Mannheim statt. https://raumzeitlabor.de/kontakt/anfahrt/ W

Re: TDD and lein

2015-01-08 Thread Udayakumar Rayala
Not sure if you are doing this, you can run the tests in cider itself. This is much quicker than running "lein test" outside particularly when you are doing TDD. I use clojure.test so every deftest method is a function which you can run to see if the test passes or fails. Or you can run run-tests

Re: TDD and lein

2015-01-08 Thread Robin Heggelund Hansen
The reason lein is initially slow, has to do with Clojures bootstrapping process, which is slow. People tend to avoid starting clojure programs repeatedly, and thus do alot of work from the repl, or using leiningen plugins which keeps running and listens for changes. Take a look at lein-test-re

TDD and lein

2015-01-08 Thread andrea crotti
Hi guys, I'm starting to use Clojure a bit more seriously, I knew already Lisp a bit and Haskell, in plus I've been using Emacs for a long time so luckily it's not as hard, and it's a lot of fun. I'm using Emacs + Cider for development and it works wonderfully, however I have a few problems/quest

Re: A (foolish) plan to re-invent IO on top of core.async

2015-01-08 Thread Robin Heggelund Hansen
Thanks. This was very interesting, especially the part about back pressure. kl. 18:52:53 UTC+1 onsdag 7. januar 2015 skrev Paul deGrandis følgende: > > There was another discussion on this list regarding async IO and web > servers. It may be rather informative to you: > https://groups.google.co