Re: Problem using poule, zero? error in scsh-process
Matt Welland via Chicken-users <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <CAFp=ComYhK9HLeKLQVNr4GxcrABbVx2bi4qTUFuZ+rnADZ8BQA@mail.gmail.com> |
Thanks Peter, I did install directly from the repository (not git) and got
the unknown. I installed the 1.6.0 version explicitly and the version is
now listed correctly:
matt@eries:~/data/personal$ ck53 chicken-status | grep scsh
scsh-process ................................................ version: 1.6.0
but I still get the same zero? error. It would be good to have an
independent reproduction of the problem. Maybe my install of chicken is a
bit crufty. If one or more folks would be so kind as to try the following
and report back it would be appreciated, if it works with chicken 6 that
would be reason enough to move forward!
(import (poule) (scheme) (chicken base) (srfi-1))
;; works with this line commented, fails with zero? error when uncommented
(import scsh-process)
(let* ((p (poule-create (cut expt 2 <>) 10))
(j (list-tabulate 50 (cut poule-submit p <>)))
(r (map (cut poule-result p <>) j))
(_ (poule-destroy p)))
(display r)
(newline))
On Thu, May 1, 2025 at 7:30 AM Peter Bex <[email protected]> wrote:
> On Thu, May 01, 2025 at 05:13:31AM -0400, Matt Welland via Chicken-users
> wrote:
> > Chicken Version 5.3.0 (rev e31bbee5)
> > scsh-process .............................................. version:
> unknown
>
> hm, version unknown seems to imply maybe you installed it from git. If
> so, the master branch is a CHICKEN 6-only branch. Try the "chicken-5"
> branch if you want to install from git.
>
> Cheers,
> Peter
>