diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-05-07 00:29:08 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-05-07 00:29:08 +0000 |
| commit | b5bc508ac315e147b755c7cfeca48481b0c73169 (patch) | |
| tree | c25410be935233bacfdacf35ff41a917bb36d579 | |
| parent | c78bdaf376ed56f8f0b520eae630a2834a81d5c7 (diff) | |
| download | Sakura-b5bc508ac315e147b755c7cfeca48481b0c73169.tar.gz Sakura-b5bc508ac315e147b755c7cfeca48481b0c73169.zip | |
A note on hashes
| -rw-r--r-- | lib/conventions.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/conventions.ml b/lib/conventions.ml index c048639..655eb06 100644 --- a/lib/conventions.ml +++ b/lib/conventions.ml @@ -1,4 +1,9 @@ module Hash = struct + (* + * TODO: implement hashes as an opaque type, preferably in a way + * that would make it convenient to pass it down to C *without* + * copying it's representation. + *) type t = string (* Sha256.t *) (* FIXME: this is terrible *) |
