Quoth Alex Shinn on Prickle-Prickle, the 8th of Confusion: > You mis-matched your parens - it should be: > > (define (factorial n) > (ref (scan * 1 (from 1)) n)) > ^^^ > > Presumably you compiled to get a segfault - the interpreter gives an > arity error.
Interesting; I took the example straight off of the wiki.[1] It gives a segfault for me in csi, even with the adjusted placement of n. Footnotes: [1] http://wiki.call-cc.org/eggref/4/srfi-41#examples _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
