Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

HashObject の型修正 #5

Closed
ia7ck opened this issue Jun 3, 2021 · 1 comment
Closed

HashObject の型修正 #5

ia7ck opened this issue Jun 3, 2021 · 1 comment

Comments

@ia7ck
Copy link
Owner

ia7ck commented Jun 3, 2021

デバッグ出力を考えると、u64 にハッシュ化前のキーが欲しいので

HashObject(HashMap<u64, (Rc<Object>, Rc<Object>)>)

がよさそう

@ia7ck
Copy link
Owner Author

ia7ck commented Jun 3, 2021

いまは、こんな感じで出力される 😭

>> let h = {1: "one", "two": 2}
HashObject({8311861578736502650: MonkeyString("one"), 12696852362685745734: Integer(2)})

@ia7ck ia7ck closed this as completed in 5b34b22 Jun 5, 2021
ia7ck added a commit that referenced this issue Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant