On Fri, 07 Sep 2012 18:18:05 -0400 Mario Domenech Goulart <mario.goul...@gmail.com> wrote:
> On Sat, 08 Sep 2012 00:01:20 +0200 (CEST) Felix > <fe...@call-with-current-continuation.org> wrote: > >> There has been a new version of Spock (0.9) (that Scheme->JS compiler >> thingy) that uses a slightly changed unwinding strategy ("return" >> instead of "throw"), which promises better compatibility with stupid >> browsers and flaky JS engines. > > Very nice! > > >> If you have a minute, please point your browser to >> >> http://www.call-with-current-continuation.org/spock/test.html >> >> and >> >> http://www.call-with-current-continuation.org/spock/threads.html >> >> The former takes quite a while to run, the latter needs canvas >> support. I tested with Conkeror 0.9.1 and Firefox 3.6.3, which seem >> to run both tests OK. I would be very interested to see whether these >> work or fail for you, and on which browsers (IE in particular). > > I run the tests on the following browsers: > > - Chromium 18.0.1025.168 > - Firefox 15 > - IE 6 > - IE 8 > > > For test.html, I get (same results on all browsers): > > correct examples : 156 > wrong examples : 1 > > I think the wrong example is: > > (string->symbol #t) ==> #t > BUT EXPECTED #f > > On all browsers I get a warning like: > > ReferenceError: ____25min is not defined Hmmm. Shawn mentioned that he gets (every-of #t) => #f ; *** wrong ***, desired result: => #t I get that too, but since the test reported one wrong result and I saw the string->symbol failure, I stopped there. So, it seems that there are three problems: - (every-of #t) => #f - (string->symbol #t) => #t - the wrong examples counter. :-) Shouldn't (string->symbol #t) raise an error? BTW, I used Chromium and Firefox on Linux. Best wishes. Mario -- http://parenteses.org/mario _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users