On 03.06.2016 00:23, Andrei Alexandrescu wrote:
On 06/02/2016 05:58 PM, Walter Bright wrote:
On 6/2/2016 1:27 PM, Andrei Alexandrescu wrote:
The lambda returns bool. -- Andrei
Yes, I was wrong about that. But the point still stands with:
> * s.balancedParens('〈', '〉') works only with autodecoding.
> * s.canFind('ö') works only with autodecoding. It returns always
false without.
Can be made to work without autodecoding.
By special casing? Perhaps. I seem to recall though that one major issue
with autodecoding was that it special-cases certain algorithms.
The major issue is that it special cases when there's different, more
natural semantics available.