Hi, On Fri, 26 Aug 2016 23:37:49 +1200 Evan Hanson <[email protected]> wrote:
> I disagree. > > On 2016-08-26 2:46, Elf wrote: >> substring is an instance of a subset operation, and > > It isn't, and neither is `substring=?`, which is a comparison procedure > first and foremost. > >> I submit that it shouldn't be named substring > > It isn't, it's named `substring=?`, because it compares substrings. > >> I think the correct behaviour would be adding a check to the beginning >> of the substring=? procedure, such that > > This would break commutativity for the base case and lead to general > confusion. > > My two cents, current behaviour is fine. Out of curiosity: any example where substring=? would be useful in practice? All the best. Mario -- http://parenteses.org/mario _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
