* Peter Danenberg <p...@roxygen.org> [120603 11:12]: > 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.
Which version of chicken is this? I get the arity error for both csi and compiled version for chicken master. I have fixed the example on the wiki. Thanks for noticing it! Christian -- 9 out of 10 voices in my head say, that I am crazy, one is humming. _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users