[Top][All Lists]
[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.
- [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Moritz Heidkamp, 2012/06/02
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Peter Danenberg, 2012/06/02
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Moritz Heidkamp, 2012/06/02
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, John Cowan, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Alex Shinn, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Peter Danenberg, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Alex Shinn, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Peter Danenberg, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API,
Christian Kellermann <=
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Peter Danenberg, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Christian Kellermann, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Jim Ursetto, 2012/06/04
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Moritz Heidkamp, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, Alex Shinn, 2012/06/03
- Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API, John Cowan, 2012/06/03