[PATCH] shepherd: doc: remove 'call/ec'.

  • Done
  • quality assurance status badge
Details
2 participants
  • guy fleury iteriteka
  • Leo Famulari
Owner
unassigned
Submitted by
guy fleury iteriteka
Severity
normal
G
G
guy fleury iteriteka wrote on 19 Apr 2020 09:04
(address . guix-patches@gnu.org)
20200419070445.1922-1-gfleury@disroot.org
* doc/shepherd.texi(call/ec): remove documentation.
---
doc/shepherd.texi | 12 ------------
1 file changed, 12 deletions(-)

Toggle diff (25 lines)
diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 3e61f5d..5ecd716 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -1111,18 +1111,6 @@ warning messages. The current implementation is not very good,
though.
@end deffn
-@deffn {procedure} call/cc proc
-An alias for @code{call-with-current-continuation}.
-@end deffn
-
-@deffn {procedure} call/ec proc
-A simplistic implementation of the nonstandard, but popular procedure
-@code{call-with-escape-continuation}, i.e. a @code{call/cc} for
-outgoing continuations only. Note that the variant included in the Shepherd is
-not aware of @code{dynamic-wind} at all and does not yet support
-returning multiple values.
-@end deffn
-
@cindex system errors
@deffn {macro} without-system-error expr@dots{}
Evaluates the @var{expr}s, not going further if a system error occurs,
--
2.25.1
L
L
Leo Famulari wrote on 21 Apr 2020 18:58
(name . guy fleury iteriteka)(address . gfleury@disroot.org)(address . 40715@debbugs.gnu.org)
20200421165840.GA22405@jasmine.lan
On Sun, Apr 19, 2020 at 09:04:45AM +0200, guy fleury iteriteka wrote:
Toggle quote (2 lines)
> * doc/shepherd.texi(call/ec): remove documentation.

Thanks!

Toggle quote (4 lines)
> -@deffn {procedure} call/cc proc
> -An alias for @code{call-with-current-continuation}.
> -@end deffn

Did you mean to also remove the call/cc part? It's not mentioned in the
commit message...
G
G
Guy-Fleury Iteriteka wrote on 21 Apr 2020 20:48
(name . Leo Famulari)(address . leo@famulari.name)(address . 40715@debbugs.gnu.org)
A3A4FC1A-7B3F-48A4-8099-28E2EDBEF579@disroot.org
hello,

Le 21 avril 2020 18:58:40 UTC+02:00, Leo Famulari <leo@famulari.name> a écrit :
Toggle quote (12 lines)
>On Sun, Apr 19, 2020 at 09:04:45AM +0200, guy fleury iteriteka wrote:
>> * doc/shepherd.texi(call/ec): remove documentation.
>
>Thanks!
>
>> -@deffn {procedure} call/cc proc
>> -An alias for @code{call-with-current-continuation}.
>> -@end deffn
>
>Did you mean to also remove the call/cc part? It's not mentioned in the
>commit message...

This fallow my previous patch 6b0e1e1923107bdf5073f87649a724b7375808b0 applied by Ludo.

--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
L
L
Leo Famulari wrote on 21 Apr 2020 21:15
(name . Guy-Fleury Iteriteka)(address . gfleury@disroot.org)(address . 40715@debbugs.gnu.org)
20200421191531.GA12011@jasmine.lan
On Tue, Apr 21, 2020 at 08:48:47PM +0200, Guy-Fleury Iteriteka wrote:
Toggle quote (17 lines)
> hello,
>
> Le 21 avril 2020 18:58:40 UTC+02:00, Leo Famulari <leo@famulari.name> a �crit :
> >On Sun, Apr 19, 2020 at 09:04:45AM +0200, guy fleury iteriteka wrote:
> >> * doc/shepherd.texi(call/ec): remove documentation.
> >
> >Thanks!
> >
> >> -@deffn {procedure} call/cc proc
> >> -An alias for @code{call-with-current-continuation}.
> >> -@end deffn
> >
> >Did you mean to also remove the call/cc part? It's not mentioned in the
> >commit message...
>
> This fallow my previous patch 6b0e1e1923107bdf5073f87649a724b7375808b0 applied by Ludo.

Yes, I noticed. But what about call/cc?
G
G
gfleury wrote on 21 Apr 2020 22:07
(name . Leo Famulari)(address . leo@famulari.name)(address . 40715@debbugs.gnu.org)
b164e7e9740173d53600435b17d338ea@disroot.org
21 avril 2020 21:15 "Leo Famulari" <leo@famulari.name> a écrit:

Toggle quote (21 lines)
> On Tue, Apr 21, 2020 at 08:48:47PM +0200, Guy-Fleury Iteriteka wrote:
>
>> hello,
>>
>> Le 21 avril 2020 18:58:40 UTC+02:00, Leo Famulari <leo@famulari.name> a écrit :
>> On Sun, Apr 19, 2020 at 09:04:45AM +0200, guy fleury iteriteka wrote:
>> * doc/shepherd.texi(call/ec): remove documentation.
>>
>> Thanks!
>>
>> -@deffn {procedure} call/cc proc
>> -An alias for @code{call-with-current-continuation}.
>> -@end deffn
>>
>> Did you mean to also remove the call/cc part? It's not mentioned in the
>> commit message...
>>
>> This fallow my previous patch 6b0e1e1923107bdf5073f87649a724b7375808b0 applied by Ludo.
>
> Yes, I noticed. But what about call/cc?

I see my err. I noticed that in Changelog 2003 they change the call 'call/cc' to 'call/ec'.
Perhaps they forget to remove it in the doc. Any way see this update patch or adjust it correctly.
L
L
Leo Famulari wrote on 22 Apr 2020 21:32
(address . gfleury@disroot.org)(address . 40715-done@debbugs.gnu.org)
20200422193208.GA22856@jasmine.lan
On Tue, Apr 21, 2020 at 08:07:57PM +0000, gfleury@disroot.org wrote:
Toggle quote (3 lines)
> I see my err. I noticed that in Changelog 2003 they change the call 'call/cc' to 'call/ec'.
> Perhaps they forget to remove it in the doc. Any way see this update patch or adjust it correctly.

Okay, thanks! Pushed as 1498f0bbf232b278aa9b22c97506feda5e04b76f
Closed
?