Re: match error

2023-08-01 Thread Damien Mattei
yes i read the section of NEWS: https://git.savannah.gnu.org/cgit/guile.git/tree/NEWS?h=v3.0.9#n8 ** Cross-module inlining "Note however that as with macros, when a definition changes in module A, a separately compiled module B that uses that definition doesn't automatically get recompiled. Thi

Re: match error

2023-08-01 Thread Jean Abou Samra
> it seems the cleaning of old .o files solved the problem Might be related to cross-module inlining then (just a wild guess, but it can be really treacherous; see Guile's NEWS file if you didn't know about it). signature.asc Description: This is a digitally signed message part

Re: match error

2023-08-01 Thread Damien Mattei
it works now on the mac os system too: EXACT $1 = #t scheme@(guile-user)> ,q (base) mattei@macbook-pro-touch-bar library-FunctProg % uname -a Darwin macbook-pro-touch-bar.home 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:19 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8103 arm64 it s

Re: match error

2023-08-01 Thread Damien Mattei
i will test that , for now i'm testing under Linux on another system (previous one was Mac OS) and the same code works : GNU Guile 3.0.1 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and y

Re: match error

2023-08-01 Thread Damien Mattei
yes Zelphir, sorry ,why i forgot the subject? i do not know , i'm using gmail and the feature for editing the subject is hidden :-( now it is fixed Damien On Tue, Aug 1, 2023 at 12:57 PM Zelphir Kaltstahl wrote: > > On 8/1/23 11:53, Damien Mattei wrote: > > hello, > > > > i have this error: > > >

Re:

2023-08-01 Thread Jean Abou Samra
Le mardi 01 août 2023 à 12:46 +0200, Damien Mattei a écrit : > probably ,as you say , 'match' is used in other place but i 'grep-ed' > all the directory and can not find where, i'm only using match this 2 > months  i even do not know it exists  before... i almost sure i never > use it in other plac

Re: message without subject

2023-08-01 Thread Zelphir Kaltstahl
On 8/1/23 11:53, Damien Mattei wrote: hello, i have this error: ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (1 0))'. i thought it was a 'match' related error as i used it in a macro: ;;(display "before match") (n

Re:

2023-08-01 Thread Damien Mattei
i'm perplex , i'm sure now it is related to 'match' because of that: scheme@(guile-user)> (use-modules (ice-9 match)) scheme@(guile-user)> (match '(1 0) ((2 0) 'nomatch)) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (1

Re:

2023-08-01 Thread Jean Abou Samra
> quoting the whole part of the macro and i still have the issue > this seems to prove the problem is in other part of my code but match > is only used here??? It is probably used in somewhere in a predefined Guile function that you are using. So it's impossible to debug without more info. You

[no subject]

2023-08-01 Thread Damien Mattei
hello, i have this error: ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" (1 0))'. i thought it was a 'match' related error as i used it in a macro: ;;(display "before match") (newline) (match (list index1-or-ke