- Dict1 = hope_kv_list:of_kv_list(KVList),
- {{some, 1} , Dict2} = hope_kv_list:pop(Dict1, a),
- {none , Dict3} = hope_kv_list:pop(Dict2, a),
- {{some, 2} , Dict4} = hope_kv_list:pop(Dict3, b),
- {none , Dict5} = hope_kv_list:pop(Dict4, b),
- {{some, 3} , Dict6} = hope_kv_list:pop(Dict5, c),
- {none , Dict7} = hope_kv_list:pop(Dict6, c),
- [] = hope_kv_list:to_kv_list(Dict7).
+ Dict1 = DictModule:of_kv_list(KVList),
+ {{some, 1} , Dict2} = DictModule:pop(Dict1, a),
+ {none , Dict3} = DictModule:pop(Dict2, a),
+ {{some, 2} , Dict4} = DictModule:pop(Dict3, b),
+ {none , Dict5} = DictModule:pop(Dict4, b),
+ {{some, 3} , Dict6} = DictModule:pop(Dict5, c),
+ {none , Dict7} = DictModule:pop(Dict6, c),
+ [] = DictModule:to_kv_list(Dict7).