On Sunday, 6 September 2015 at 15:52:38 UTC, anonymous wrote:
On Sunday, 6 September 2015 at 15:41:34 UTC, Namal wrote:
is there any function that removes double elements in a sorted
array?
std.algorithm.iteration.uniq
http://dlang.org/phobos/std_algorithm_iteration.html#uniq
Hmm, I get
Error: module comparison is in file 'std/algorithm/comparison.d'
which cannot be read
import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
when I try to load the headers like in the example