On 01/11/2016 04:28 PM, asdfa wrote:

> Both DMD and GDC complain, saying
> Error: template instance sort!((a, b)
> {
> return freqs[a] > freqs[b];
> }
> ) template 'sort' is not defined

That issue is already in the errata:

  http://erdani.com/tdpl/errata/

Add the following line to fix:

import std.algorithm;

Ali

Reply via email to