Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).
$ choosenim update devel
Info: Version #devel already selected
$ nim doc Nim/lib/pure/net.nim
Nim/lib/pure/net.nim(1408, 12) Error: type mismatch: got <Duration, Duration>
but expected one of:
proc `+=`(d1: var Duration; d2: Duration)
first type mismatch at position: 2
required type for d2: Duration
but expression 'getMonoTime() - startTime' is of type: Duration
7 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them
expression: waited += getMonoTime() - startTime
$