test-out-of-memory fails in v2.2.2?

2017-11-25 Thread Dan Kegel
Hi! Just trying to build scheme here. scheme v2.2.2's test-out-of-memory test seems to fail here with the same error seen at https://launchpadlibrarian.net/345443882/buildlog_ubuntu-bionic-amd64.guile-2.2_2.2.2+2-1_BUILDING.txt.gz i.e. wrote `/<>/guile-2.2-2.2.2+2/cache/guile/ccache/2.2-LE-8-3.

Re: Repeat syntax

2017-11-25 Thread Christopher Howard
On Sat, 2017-11-25 at 07:06 -0800, Matt Wette wrote: > > On Nov 25, 2017, at 6:47 AM, Matt Wette > > wrote: > > > > you probably want named let > > > > ((_ n exp exp* ...) > > (let loop ((n n)) > > (unless (<= n 0) > >    exp exp* ... > >    (loop (1- n))) > > but not a broken one >

Re: Repeat syntax

2017-11-25 Thread Chris Vine
On Sat, 25 Nov 2017 15:21:37 + Chris Vine wrote: > On Fri, 24 Nov 2017 20:05:26 -0900 > Christopher Howard wrote: > > Hi list, I want to have a function > > > > (repeat n exp exp* ...) > > > > That calls the expressions n times for side effect, like for-each, > > but without the bother of

Re: Repeat syntax

2017-11-25 Thread Chris Vine
On Fri, 24 Nov 2017 20:05:26 -0900 Christopher Howard wrote: > Hi list, I want to have a function > > (repeat n exp exp* ...) > > That calls the expressions n times for side effect, like for-each, but > without the bother of dealing with a list. It seems like somebody else > must have thought

Re: Repeat syntax

2017-11-25 Thread Matt Wette
> On Nov 25, 2017, at 6:47 AM, Matt Wette wrote: > > you probably want named let > > ((_ n exp exp* ...) > (let loop ((n n)) > (unless (<= n 0) >exp exp* ... >(loop (1- n))) but not a broken one ((_ n exp exp* ...) (let loop ((cnt n)) (unless (<= cnt 0) exp exp*

Re: Repeat syntax

2017-11-25 Thread Matt Wette
> On Nov 24, 2017, at 9:05 PM, Christopher Howard > wrote: > > Hi list, I want to have a function > > (repeat n exp exp* ...) > > That calls the expressions n times for side effect, like for-each, but > without the bother of dealing with a list. It seems like somebody else > must have though

Re: Repeat syntax

2017-11-25 Thread Alex Vong
Christopher Howard writes: > Hi list, I want to have a function > > (repeat n exp exp* ...) > > That calls the expressions n times for side effect, like for-each, but > without the bother of dealing with a list. It seems like somebody else > must have thought of this before, but I couldn't find