Re: finalizing
Daphne Preston-Kendal
(08 Dec 2022 08:50 UTC)
|
Re: finalizing
Marc Nieper-Wißkirchen
(08 Dec 2022 09:01 UTC)
|
Re: finalizing Daphne Preston-Kendal (08 Dec 2022 09:05 UTC)
|
Re: finalizing
Jakob Wuhrer
(09 Dec 2022 17:09 UTC)
|
Re: finalizing
Marc Nieper-Wißkirchen
(09 Dec 2022 17:21 UTC)
|
Re: finalizing
pinoaffe
(09 Dec 2022 18:40 UTC)
|
Re: finalizing
Marc Nieper-Wißkirchen
(09 Dec 2022 18:56 UTC)
|
Re: finalizing
John Cowan
(09 Dec 2022 20:04 UTC)
|
Re: finalizing
Marc Nieper-Wißkirchen
(09 Dec 2022 20:17 UTC)
|
Re: finalizing
John Cowan
(18 Dec 2022 20:46 UTC)
|
Re: finalizing
Marc Nieper-Wißkirchen
(19 Dec 2022 16:38 UTC)
|
Re: finalizing
Daphne Preston-Kendal
(09 Dec 2022 17:30 UTC)
|
On 8 Dec 2022, at 10:00, Marc Nieper-Wißkirchen <xxxxxx@gmail.com> wrote: >> Marc also wrote: ‘the spec should really add the (make-product-comparator real-comparator real-comparator) example.’ I seem to have missed this. This should behave identically to the real-comparator itself – that seems intuitively correct to me. I assume the issue is that it isn’t actually a comparator over a product type in the formal sense. I don’t feel the need to consider perverse cases in the naming of the procedures. > > My point was that when the procedure was called > make-product-comparator, the spec should include a warning that the > procedure would not return a comparator of the product type. Since the latest draft, there is already a warning about this: ‘Note: Despite the name, this procedure actually creates comparators which are more general than a comparator over a product type, because each of the given comparators has its own type test.’ although your example shows that the last clause is also not always relevant. I don’t think it needs an example in the spec test, though the warning needs revising anyway, so I’ll think about adding one. >> I don’t see any issue with the name make-wrapper-comparator. > > My point here was that you might want to find a more specific name > that is comparable to make-intersection/union-comparator. Well, I think the ideal as you said is to find non-mathematical replacements for the terms product and sum here, so that nobody can complain about the names being mathematically incorrect. But if we stick with mathematical names, maybe it would be better to keep the theme for all three. Daphne