[ANN] alpacas: a new Clojure source viewer

2013-06-04 Thread Andrea Chiavazza
Alpacas is an application that displays Clojure source code with forms shown as nested boxes, doing away with parenthesis altogether. Run it with lein run and it will display its own source code. There is partial support to navigate the source code by moving a cursor with the left and right

Re: [ANN] alpacas: a new Clojure source viewer

2013-06-04 Thread Andrea Chiavazza
@gmail.comjavascript: wrote: Idea seems great but no screenshots? Too bad for a visual tool On Tue, Jun 4, 2013 at 10:13 PM, Andrea Chiavazza ndrc...@gmail.comjavascript: wrote: Alpacas is an application that displays Clojure source code with forms shown as nested boxes, doing

Re: [ANN] alpacas: a new Clojure source viewer

2013-06-04 Thread Andrea Chiavazza
Screenshot added On Tuesday, 4 June 2013 21:14:56 UTC+1, Denis Labaye wrote: Idea seems great but no screenshots? Too bad for a visual tool On Tue, Jun 4, 2013 at 10:13 PM, Andrea Chiavazza ndrc...@gmail.comjavascript: wrote: Alpacas is an application that displays Clojure source code

clojure.set/intersection can't cope with infinite sets

2013-02-06 Thread Andrea Chiavazza
Currently this hangs, makes my machine quickly run out of memory and swap. (clojure.set/intersection #{1 2} (range)) The problem seems to be that count is called on both arguments to find the smallest set. Finding the shortest of 2 seqs lazily shouldn't be a problem, but another problem I can

Re: clojure.set/intersection can't cope with infinite sets

2013-02-06 Thread Andrea Chiavazza
I can see the points being made, and now I'm also thinking that accepting infinite sequences wouldn't always work, for example if the infinite sequence wouldn't contain one of the elements of one of the other sequences, like: (clojure.set/intersection #{1 2} (drop 10 (range))) And I'm not sure

Re: == is not always transitive

2012-04-15 Thread Andrea Chiavazza
above can be found at https://github.com/andrea-chiavazza/clojure/tree/BigDecimal-equiv-fix Can anybody defend the current behaviour against the one I propose ? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email

Re: New(er) Clojure cheatsheet hot off the presses

2012-03-27 Thread Andrea Chiavazza
Would you consider removing the underlining from all links ? I think it would look much better, -- 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

Support for complex numbers added

2012-03-27 Thread Andrea Chiavazza
Hello everyone I had a go at adding support for complex numbers, it's at: https://github.com/andrea-chiavazza/clojure/tree/complex Some repl usage examples: user= (/ (complex 73 13) (complex 15 25)) #Complex (142/85 -163/85i) user= (/ (complex 73 13) (complex 15.0 25.0)) #Complex