bug#17147: Scalability front and back...

2014-05-13 Thread David Kastrup
The following code continues exploding in Guile 2.0.9 even after fixing the VM exploding under the stock "reduce-right" and after chickening out on syntax-case et al for "and" and using a procedural macro instead. (use-modules (srfi srfi-1)) (define (reduce-right f ridentity lst) "`reduce-righ

bug#17485: (srfi srfi-1) reduce-right does not scale, version 2.0.9

2014-05-13 Thread David Kastrup
The following code results in an error: (use-modules (srfi srfi-1)) (reduce-right + 0 (make-list 1 1)) Backtrace: In srfi/srfi-1.scm: 379: 19 [recur (1 1 1 1 1 1 1 1 1 ...) (1 1 1 1 1 1 1 1 1 ...)] 379: 18 [recur (1 1 1 1 1 1 1 1 1 ...) (1 1 1 1 1 1 1 1 1 ...)] 379: 17 [recur (1 1 1 1 1 1