Re: bug in 1.9.9

2010-03-31 Thread Daniel Llorens del Río
On 31 Mar, 2010, at 17:55, Daniel Llorens del Río wrote: Although this one also works… > (call-with-values (lambda () (f #s32() #f64())) (lambda (a b) (format #f "~a ~a" a b))) => "#s32() #f64()" Sorry, this should be … (lambda () (values #s32() #f64())) … Regards, Daniel

Re: compiler bug in 1.9.9

2010-03-31 Thread Daniel Llorens del Río
On 30 Mar, 2010, at 21:24, Andy Wingo wrote: On Tue 30 Mar 2010 17:02, Daniel Llorens del Río writes: 0 (assoc-ref ((#< key: f!> . 1)) #2f64 ((0 1) (2 3))) This was actually a problem with the runtime, not the compiler: equal? on an array and a non-array bombed. Fixed,

compiler bug in 1.9.9

2010-03-30 Thread Daniel Llorens del Río
This is with the latest from git. (use-modules (srfi srfi-26)) (define (f! A B) (array-fill! B 0.)) (define x (make-typed-array 'f64 0. 2)) (cut f! #2f64((0 1) (2 3)) <>) Throw to key `wrong-type-arg': ERROR: Wrong type (expecting array): #< key: f!> Entering the debugger. Type `bt' for a backt