New draft (#2) of SRFI 226: Control Features Arthur A. Gleckler (10 Sep 2022 01:26 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (30 Sep 2022 07:32 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (30 Sep 2022 19:15 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (30 Sep 2022 20:08 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (30 Sep 2022 21:22 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (01 Oct 2022 13:14 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (01 Oct 2022 18:56 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (01 Oct 2022 21:10 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (03 Oct 2022 11:39 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (03 Oct 2022 13:21 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (03 Oct 2022 14:59 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (07 Oct 2022 16:22 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (07 Oct 2022 21:36 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (08 Oct 2022 00:13 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (09 Oct 2022 16:07 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (09 Oct 2022 20:30 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (10 Oct 2022 06:26 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (10 Oct 2022 16:48 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (12 Oct 2022 06:27 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (13 Oct 2022 00:02 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (13 Oct 2022 06:40 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (13 Oct 2022 15:31 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (13 Oct 2022 15:51 UTC)
Re: New draft (#2) of SRFI 226: Control Features Arthur A. Gleckler (30 Sep 2022 23:35 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (27 Oct 2022 06:01 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Feeley (29 Oct 2022 02:54 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (29 Oct 2022 08:13 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Feeley (29 Oct 2022 12:49 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (29 Oct 2022 13:49 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (29 Oct 2022 18:49 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (03 Nov 2022 17:02 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (04 Nov 2022 19:54 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (29 Oct 2022 15:38 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (29 Oct 2022 16:31 UTC)
Re: New draft (#2) of SRFI 226: Control Features John Cowan (29 Oct 2022 21:52 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (30 Oct 2022 08:35 UTC)
Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen (28 Oct 2022 15:17 UTC)

Re: New draft (#2) of SRFI 226: Control Features Marc Nieper-Wißkirchen 07 Oct 2022 21:36 UTC

Am Fr., 7. Okt. 2022 um 18:22 Uhr schrieb John Cowan <xxxxxx@ccil.org>:

>> I don't understand the logic behind the design choices of SRFI 19
>> fully. For the purpose of SRFI 226, it is specifying much more than
>> what is needed (and the split between seconds and nanoseconds is
>> arbitrary in view of this SRFI). But we probably want more than just a
>> duration but also an absolute time to specify a concrete time in the
>> future.
>
>
> Indeed, SRFI 19 specifies more than is needed for any given use case, but I think that  it is much better than having many individually tailored types of absolute time and duration objects.  SRFI 19 was there first (so it is already widespread) and is sufficiently general (note that by "SRFI 19" I mean the data structure, not all the conversions) to cover all the cases.  I want to use it everywhere in R7RS-large.

I agree that we should not double types in the large language. But I
think we should nevertheless be careful to have suitable abstractions.
I think this is more important than having an exact copy of SRFI 19.
Should R7RS-large get inheritance (see SRFI 237), one can also ask
whether the SRFI 19-like "type symbols" fit the rest of the language.

Finally, to be able to build Scheme in layers, a very low-level SRFI
like 226 should not rely on high-level SRFIs like SRFI 19. Maybe a
trimmed-down SRFI 19-core, which can be part of the Foundations is a
good idea. And a full SRFI 19, building on the core, would appear in
the Batteries.

>>  in SRFI 19,
>> a time duration is also a time. I don't want to follow this because it
>> is like comparing apples with pears.
>
>
> That troubled me too at first, until I realized that a duration can be viewed an absolute time whose epoch is context-dependent, rather than itself being absolute as with the other SRFI 19 epoch settings.

By the same reasoning, the difference in the concept of a point and a
vector in the context of affine spaces would collapse. This, for sure,
does not help to understand these concepts and looks misguided to me.

I would therefore propose writing a "modern" version of SRFI 19 (in
particular one, where the nanosecond-second split is not at the heart
of the description), which, however, could be implemented in terms of
an existing SRFI 19. I think it also makes sense to make time objects
immutable (which they aren't in the SRFI 19 proposal). Specifying
procedures that have to deal with mutable arguments is hard. And
mutability is not really needed.

In any case, these are just first thoughts, so to speak.