Re: A question about test-is

2008-11-05 Thread J. McConnell
On Tue, Nov 4, 2008 at 8:47 PM, Chanwoo Yoo <[EMAIL PROTECTED]> wrote: > Thank you for your kind exaplanation. :) To a newbie like me, list and > vector seemed that they have no significant difference. No problem, I think everyone runs into these kinds of issues when they first look at Clojure. H

Re: A question about test-is

2008-11-04 Thread Chanwoo Yoo
Thanks! Now I'm simply looking into *inferior lisp* buffer. Strangely, still next code seems not working in slime... (binding [*test-out* System/out] (run-tests)) On 11월3일, 오후11시34분, Stuart Sierra <[EMAIL PROTECTED]> wrote: > On Nov 2, 11:20 pm, Chanwoo Yoo <[EMAIL PROTECTED]> wrote: > > >

Re: A question about test-is

2008-11-03 Thread Stephen C. Gilardi
On Nov 3, 2008, at 9:34 AM, Stuart Sierra wrote: > Hmm, not sure. I don't use SLIME, but I know that run-tests prints > results to *test-out*, which by default is bound to > java.lang.System.err. You could try re-binding *test-out* to standard > output like this: > > (binding [*test-out* System

Re: A question about test-is

2008-11-03 Thread J. McConnell
> I have one more trivial question. It seems good that Clojure > consistently manages all data structures as sequence. But operator > like 'assoc' can be applied to map and vector, except list and string. > I'm curious about the reason of this decision. What would (assoc (list 1 2 3) x y) mean? W

Re: A question about test-is

2008-11-03 Thread Stuart Sierra
On Nov 2, 11:20 pm, Chanwoo Yoo <[EMAIL PROTECTED]> wrote: > When I evaluate (run-tests) in a repl of my terminal, I can see test > messages. But when I do it in slime, I can't see any messages. How I > can see test results in slime? Hmm, not sure. I don't use SLIME, but I know that run-tests pr