[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] substring=?
From: |
Evan Hanson |
Subject: |
Re: [Chicken-hackers] substring=? |
Date: |
Fri, 26 Aug 2016 23:37:49 +1200 |
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.
Evan