smintz / starlarkobject

0 stars 0 forks source link

Support hashing of an object #6

Open smintz opened 1 year ago

smintz commented 1 year ago

When calling hash(obj) The object should try run a function named __hash__, if not exists, delegate to super. if super is nil, return indicative error.