Re: [BUG] Eval sets incorrect runtime metainformation

2024-06-28 Thread Andrew Tropin
On 2024-06-26 18:06, Philip McGrath wrote: > On 6/26/24 07:41, Andrew Tropin wrote:> That said, the evaluator does attach so-called "meta-data" information to procedures, such as the procedure name. https://www.gnu.org/software/guile/manual/html_node/Procedure-Properties.html.

Re: [BUG] Eval sets incorrect runtime metainformation

2024-06-28 Thread Andrew Tropin
On 2024-06-26 18:04, Andy Wingo wrote: > On Wed 26 Jun 2024 11:36, Maxime Devos writes: > >> IIRC, the question wasn’t about debugging in general, it was about >> source locations in particular. Surely program-sources (or, in this >> case, procedure-source maybe?) (why are the procedures in this

RE: [PATCH 1/3] Make string-length documentation more correct

2024-06-28 Thread Andrew Tropin
On 2024-06-26 13:46, Maxime Devos wrote: >>> >-Returns the number of characters in the given @var{string}. >>> +Returns the number of bytes in the given @var{string}. >>> >>> This is false. For example, (string-length "😀") is 1, whereas in all >>> encodings I know of it is >more than one byte.

RE: [PATCH 1/3] Make string-length documentation more correct

2024-06-28 Thread Andrew Tropin
On 2024-06-26 14:26, Maxime Devos wrote: >>No; he wrote é, U+0065 LATIN SMALL LETTER E + U+0301 COMBINING ACUTE ACCENT, >>which is two characters unlike é, LATIN SMALL LETTER E WITH ACUTE. >> >>Likewise 👨‍🏭 is U+1F468 MAN + U+200D ZERO WIDTH JOINER + U+1F3ED FACTORY. > > Right, I should have test

[PATCH] Add nondestructive delq1, delv1, and delete1.

2024-06-28 Thread Richard Sent
* libguile/list.c: (delq1): Create. (delv1): Create. (delete1): Create. * doc/ref/api-data.texi (List Modification): Document it. --- Hi Guile, There was some discussion on IRC a while back about how it was odd there were destructive delete1! and similar functions, but no nondestructive variants.

The Guile junk drawer and a C plea (was: [PATCH] Add nondestructive delq1, delv1, and delete1.)

2024-06-28 Thread Thompson, David
Hi Richard and all other Guilers, too, What follows is not code review, but your patch felt like an opportunity to provide some commentary about the trajectory of Guile development that I've wanted to share for awhile. First, I think Guile's default environment is a total mess. It's the very def