Closed
Description
tables.take()
is defined only for Table
and missed for other table containers, though module functions are expected to work properly for all related containers.
Example
import tables
let t = newOrderedTable[string, string]()
var v: string
echo t.take("k", v)
Current Output
Error: type mismatch: got <OrderedTable[system.string, system.string], string, string>
Expected Output
false
Possible Solution
Implement tables.take()
for OrderedTable
and CountTable
.
Additional Information
$ nim -v
Nim Compiler Version 1.0.0