Mercurial > code > home > repos > homeauto
view service/rfid_pn532/hashobj.nim @ 507:f3c1d2e7c5df
add missing files for the record
Ignore-this: 8541c95ef1644cf85b311259602d2892
author | drewp@bigasterisk.com |
---|---|
date | Sun, 21 Apr 2019 03:28:21 -0700 |
parents | |
children |
line wrap: on
line source
import sets import hashes type RdfNode* = object of RootObj Uri* = object of RdfNode s2: string proc initUri*(s: string): Uri = result.s2 = s proc hash*(x: Uri): Hash = hash(x.s2) let uris = setOfUris([initUri("x")])