Re: Sanitizer of record fields?

2022-10-01 Thread Ludovic Courtès
Hi, zimoun skribis: > The website is currently failing [1] to build because a typo in some > package declaration. The error message is not very helpful, > > srfi/srfi-1.scm:241:2: In procedure map: > In procedure map: Wrong type argument: "https://www.qt.io/; > building

Re: Sanitizer of record fields?

2022-09-08 Thread zimoun
Hi, On Thu, 8 Sept 2022 at 13:36, wrote: > > srfi/srfi-1.scm:241:2: In procedure map: > > In procedure map: Wrong type argument: "https://www.qt.io/; > > building pages in '/tmp/gnu.org/software/guix'... > > > > ISTM this "wrong type argument" is an infuriatingly common

Re: Sanitizer of record fields?

2022-09-08 Thread Maxime Devos
On 08-09-2022 13:35, b...@bokr.com wrote: Hi Simon, et al On +2022-09-08 09:59:15 +0200, zimoun wrote: Hi, The website is currently failing [1] to build because a typo in some package declaration. The error message is not very helpful, srfi/srfi-1.scm:241:2: In procedure map:

Re: Sanitizer of record fields?

2022-09-08 Thread Maxime Devos
On 08-09-2022 13:35, b...@bokr.com wrote: Can geiser trace stuff? IWBN to have something analogous to bash's shopt for printing expression sources as they are read and/or executed. Does something like that exist? See: 'trace' in the Guile manual.  (This is a Guile feature, not a geiser

Re: Sanitizer of record fields?

2022-09-08 Thread Maxime Devos
On 08-09-2022 13:16, zimoun wrote: Hi, On Thu, 08 Sep 2022 at 11:32, Maxime Devos wrote: On 08-09-2022 09:59, zimoun wrote: We could add a lint checker. Is it a “good” idea? We already have one, 'check-license'. Yeah, but I was talking about check if the field return the expected record

Re: Sanitizer of record fields?

2022-09-08 Thread bokr
Hi Simon, et al On +2022-09-08 09:59:15 +0200, zimoun wrote: > Hi, > > The website is currently failing [1] to build because a typo in some > package declaration. The error message is not very helpful, > > srfi/srfi-1.scm:241:2: In procedure map: > In procedure map: Wrong type

Re: Sanitizer of record fields?

2022-09-08 Thread zimoun
Hi, On Thu, 08 Sep 2022 at 11:32, Maxime Devos wrote: > On 08-09-2022 09:59, zimoun wrote: >> We could add a lint checker. Is it a “good” idea? > > We already have one, 'check-license'. Yeah, but I was talking about check if the field return the expected record type. Not only for the license

Re: Sanitizer of record fields?

2022-09-08 Thread Maxime Devos
On 08-09-2022 09:59, zimoun wrote: We could add a lint checker. Is it a “good” idea? We already have one, 'check-license'. Because lint is not always applied, a check should be done when running ’make’ or a special target. Is it a “good” idea? I suppose it is a possibility, but it adds a