> So I realized ptr of Husband can be a key to a Table, ref can't.

Yes, it can

[https://nim-lang.org/docs/tables.html#basic-usage-hashing](https://nim-lang.org/docs/tables.html#basic-usage-hashing)

Reply via email to