chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API


From: Christian Kellermann
Subject: Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API
Date: Sun, 3 Jun 2012 11:24:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Peter Danenberg <address@hidden> [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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]