Re: Getting line numbers in stack traces

2010-05-14 Thread LordGeoffrey
As a newbie, this is the biggest frustration i have with clojure. Coming from a scheme background i regularly type (defn (func a b v) .. ) That produces a completely non-specific and non-locatable error message. I occasionally resort to cutting my files in halves until i locate the offending li

Re: Leiningen 1.2.0 released! -- bug?

2010-07-19 Thread LordGeoffrey
I did the upgrade. seemed okay. I a resumed doing the enlive tutorial, and now when i : user=> (load "tutorial/scrape1") nil nothing comes back. type returns, nothing. type (+ 1 1), and i get: user=> 2 Odd. From then on works as expected. Even when (load "scrape1") -- tutorial : http://git

Re: Haskell?

2010-07-20 Thread LordGeoffrey
When i code i don't think of them as close. Possibly because Haskell's functional purity, strong type system, pervasive laziness puts it in another grade "above" clojure. Clojure feels closer to Scheme to me, and I don't think it just all the parenthesis. So the decision for me was between cl

Re: fixing web docs

2011-03-29 Thread LordGeoffrey
I use confluence elsewhere and it is fine. On 30/03/11 04:14, Sean Corfield wrote: On Tue, Mar 29, 2011 at 5:44 AM, Stuart Halloway wrote: [2] NEW http://dev.clojure.org/display/doc/Getting+Started Sometimes this wiki seems grindingly slow (for me, at least). Is that a known issue with Confl

fnparse: alt over matches ?

2011-04-11 Thread LordGeoffrey
Exercising the code below with (f "ab") produces: A: a ANY: a ANY: b Which implies (at least to me) that - alt seems to match "a" twice once against the lit and once against anything. Any suggestions would be appreciated. fnparse v: 2.2.7 clojure v: 1.2.0 --- (use 'name.choi.joshua.fnparse)

Re: fnparse: alt over matches ?

2011-04-14 Thread LordGeoffrey
what matches. Instead the semantics should be more like (fn [x] (str "ANY: " x)); then you won't see any results unless a complete parse happens. On Apr 11, 3:54 am, LordGeoffrey wrote: Exercising the code below with (f "ab") produces: A: a ANY: a ANY: b Which implies (a

Re: Recommendation for Clojure Enterprise Development toolkit

2011-07-09 Thread LordGeoffrey
http://en.wikipedia.org/wiki/Enterprise_software tl;dr model the entire enterprise. On 10/07/11 09:11, Andreas Kostler wrote: What is generally considered "enterprise" then? On 10/07/2011, at 9:07 AM, Sean Corfield wrote: In which case, apologies to Shree... but those lists don't really offer

Re: list* does not make a list?

2011-01-17 Thread LordGeoffrey
The docs don't say that it is lazy. How (as a newbie) can i tell that it is lazy? Docs: "Creates a new list containing the items prepended to the rest, the last of which will be treated as a sequence." On 17/01/11 06:27, Sean Allen wrote: the documentation on that could be improved. the doc