On 10/28/2010 1:24 AM, Jonathan M Davis wrote:
> The problem is string literals. Aren't string literals immutable(char[])? It
> seems incredibly stupid to have to write
No, string literals are immutable(char)[]. The following code compiles
w/ the latest beta:
import std.string;
void main() {
bool result = startsWith("Foo", "Fo");
}