What is Nostr?
Grigory Shepelev /
npub1srm…dk6q
2024-05-21 04:05:15

Grigory Shepelev on Nostr: While working my personal project I coudn't find any simple way to compare ...

While working my personal project I coudn't find any simple way to compare hash-tables equality even in extrernal libs.

Also hashing the hash-tables (hash ht) is not reliable:
(hash (alist->hash-table `((b . 2) (a . 1)))) ≠ (hash (alist->hash-table `((a . 1) (b . 2))))

So I'm thinking about one for myself. What about this one?

https://gist.github.com/shegeley/fd90526791bf94f825baa0b3e9f4cf3c

#guile #scheme
Author Public Key
npub1srmnmfqhw66aayzqn0ldvpjfq0jw0fj8gr9ygq84u4phlp7kpcsqg9dk6q