https://issues.dlang.org/show_bug.cgi?id=16263

          Issue ID: 16263
           Summary: Error: template std.algorithm.iteration.permutations
                    cannot deduce function from argument types !()(char[])
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

The function `permutations` support numbers, but does not support letters:


////////////////////////////////////////////

import std.stdio;
import std.algorithm;

void main() {
    writeln(['a', 'b', 'c'].permutations);
}

////////////////////////////////////////////

--

Reply via email to