Re: Should guile-3.0 cond-expand guile-2 and guile-2.2?

2020-03-10 Thread Rob Browning
Ludovic Courtès writes: > Rob Browning skribis: > >> $ guile-3.0 -c '(display (cond-expand (guile-2.2 "?\n"))) >> ? >> >> Is that intentional? > > I think so, though I don’t think this was discussed here. > > The way I see it, it means that guile-3 is a superset of 2.2. OK, though that wasn

Re: [PATCH, v2] Fix build on platforms where the stack grows upwards

2020-03-10 Thread John David Anglin
Hi, On 2020-02-08 9:07 a.m., Ludovic Courtès wrote: > John Paul Adrian Glaubitz skribis: > >> * libguile/continuations.c (scm_dynthrow): Fix missing mra >>parameter to grow_stack for SCM_STACK_GROWS_UP. > Applied, thanks! I believe that this change was also applied to the 2.2 stable branch (

Re: guile pipeline do-over

2020-03-10 Thread Rutger van Beusekom
Hi Linus, pipeline is implemented with piped-process, which is implemented with scm_start_child, which does not use the shell. In your pipeline you can use a shell explicitly if you wanted to. I do not think I should follow the asterisk convention in procedure naming for pipeline. What do you th

Re: guile pipeline do-over

2020-03-10 Thread Linus Björnstam
I have a question about the interface. It uses the shell now, it seems. (I could be wrong). The guile system call has a (system cmd ) which uses the shell and a system* call which takes (system* cmd arg ...) So that it does not rely on the shell. Maybe a similar interface could be useful (and mo

Re: guile pipeline do-over

2020-03-10 Thread Rutger van Beusekom
Hi Ludo, I have processed your feedback in this version of the patch. Ludovic Courtès writes: > Hi Rutger! > >> ... > Nice! That’s definitely very useful to have. We’ll need to check what > Andy thinks, but I think it can be added in the 3.0 series. > > >> ... > Could you mention functions re