On Wednesday, 14 December 2016 at 01:39:01 UTC, Andrei
Alexandrescu wrote:
I prefer the current form of the proposal:
bool equal(R1, R2)
import (std.range)
if (isInputRange!R1 && isInputRange!R2)
{ ... }
The point has been brought up that the syntax import(std.range)
is also used for string imports. It is a drawback.
Andrei
How about using "imports" instead of "import"? Simple enough
change, and it still makes sense
bool equal(R1, R2)
imports (std.range)
if (isInputRange!R1 && isInputRange!R2)
{ ... }