Implement Hash of object
未关闭
- 主要语言
- Go
- 星标
- 1k
- 派生
- 105
- PR 合并指标
- 30 天内没有已合并 PR
描述
We have to calculate the hash according to the type of Object and return a value.
There is currently `M__hash__` but it is not implemented in any Object.
```go
type I__hash__ interface {
M__hash__() (Object, error)
}
```
First, we have to implement `M__hash__` of numbers and strings(int, float, complex, string).
This is also necessary for the implementation of the dictionary.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。