On Thursday, 5 November 2015 at 17:40:12 UTC, bearophile wrote:
Namal:

Hello I am trying to convert BigInt to string like that while trying to sort it:

void main() {
import std.stdio, std.algorithm, std.conv, std.bigint, std.string;

    auto n = 17.BigInt ^^ 179;
    n.text.dup.representation.sort().release.assumeUTF.writeln;
}

Bye,
bearophile

can I import libraries anywhere? Is this the proper way to do so?

Reply via email to