[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: '#:optional' in Scheme function documentation looks weird

From: Werner LEMBERG
Subject: Re: '#:optional' in Scheme function documentation looks weird
Date: Mon, 09 Aug 2021 12:52:10 +0000 (UTC)

>> In `notation.pdf`, section 'A.23, Scheme functions', the function
>> header
>>   (define-safe-public (check-context-path path #:optional location)
>> gets currently translated to
>>   check-context-path path . lambda*:G59

A quick work-around is to use Guile 2.x, as Jean has reported in !808...

> How many of those do we have?

About a dozen.

> One could redefine them manually, giving
> check-context-path path . optional-location
> or similar.

Could you take care of that?

> It's also conveivable that define-safe-public could funnel off the
> argument list into the documentation string before it gets replaced:
> I remember doing something like that for markup commands since
> Guile-2.x did not retain the argument lists.

Sounds promising.  Again, could you take care of that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]