Because the result in the final commit is better. Sorry, I should have
added this commit to fixup when I was rebasing.
On Sat, Jan 28, 2023, 20:08 Maxime Devos wrote:
>
>
> On 28-01-2023 10:14, Blake Shaw wrote:
> > Thanks! The new latest edit is still preferred but I'll keep that in
> > mind fo
Il giorno sab, 28/01/2023 alle 20.10 +0100, randomloo...@riseup.net ha
scritto:
> Il giorno sab, 28/01/2023 alle 14.18 +0100, Maxime Devos ha scritto:
> >
> >
> > > +(define (english-base-ten->number name)
> > > + (match name
> > > + ('zero 0)
> > > + ('one 1)
> > > + ('two 2)
>
Il giorno sab, 28/01/2023 alle 14.18 +0100, Maxime Devos ha scritto:
>
>
> > +(define (english-base-ten->number name)
> > + (match name
> > + ('zero 0)
> > + ('one 1)
> > + ('two 2)
> > + ('three 3)
> > + ('four 4)
> > + ('five 5)
> > + ('six 6)
> > + ('se
> Date: Sat, 28 Jan 2023 11:17:07 +0100
> From: Omar Polo
>
> I'm not sure this patch is palatable as-is, but I'm adding it to the
> OpenBSD port to have less failures in the regress suite.
>
> The main issue is that "guile" may not be available at test time for
> various reasons. (the install
Hello,
I'm not sure this patch is palatable as-is, but I'm adding it to the
OpenBSD port to have less failures in the regress suite.
The main issue is that "guile" may not be available at test time for
various reasons. (the install prefix is not in $PATH, the executable
may be renamed --program-
Hello,
These are some tweaks for posix.test so that now it fully passes on
OpenBSD. In order:
- wc(1) may pad its output:
% echo ">$(seq 2 | wc -w)<"
> 2<
- using "seq 3" is more portable than assuming /proc. seq(1) may not
be there (on OpenBSD appeared only in 7.1)
On 26-01-2023 19:57, Blake Shaw wrote:
@example
-(match lst
- (((heads tails ...) ...)
- heads))
+(match '(((a b c) e f g) 1 2 3)
+ (((head ...) tails ...)
+ `(,@tails ,head)))
+@result{} (1 2 3 ((a b c) e f g))
@end example
Contrary to the commit message, this isn't an addition of
On 26-01-2023 19:57, Blake Shaw wrote:
+A pattern matcher does precisely what the name implies: it matches
+some arbitrary pattern, and returns some result accordingly.
It doesn't need to return anything -- while functional style is common
in Guile, imperative is still possible. It can retu
On 28-01-2023 10:14, Blake Shaw wrote:
Thanks! The new latest edit is still preferred but I'll keep that in
mind for the future.
I don't follow? The commit message was:
[PATCH v1 2/6] docs/match: rm unquote-splicing as it interferes with textinfo
don't know how to fix this rn, but...
I.e.
Thanks! The new latest edit is still preferred but I'll keep that in mind
for the future.
On Fri, Jan 27, 2023, 23:33 Maxime Devos wrote:
>
>
> On 26-01-2023 19:57, Blake Shaw wrote:
> > don't know how to fix this rn, but...
>
> You can escape @ with @@.
>
> > ---
> > doc/ref/match.texi | 15 +
10 matches
Mail list logo