You are currently looking at the v6.0 - v8.2 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
(These docs cover all versions between v3 to v8 and are equivalent to the old BuckleScript docs before the rebrand)
Result
Define the interface for result.
t
REtype t('good, 'bad) =
| Ok('good)
| Error('bad);