Re:Oxidizing Kraken
by simag on Saturday February 20, 2021 @03:02PM
(#26207300)
We're using thiserror, and haven't explored macros that generate an enum from the Result type. I remember there are crates exploring this, but this is something that would really benefit from compiler support. Ocaml's polymorphic variants appear to provide an interesting solution here.
[ Parent
| on HN ]
There are no comments on this comment yet.