hashtable_copyx(ht)
Return a new hash table with the same entries as in the hash table ht.
ht
let h = #{1:2, 3:4} let c = hashtable_copy(h) h[1] = 100 h // #{1:100, 3:4} c // #{1:2, 3:4}
Core Module Index | Contents