You are currently looking at the v8.2 - v9.0 docs (Reason v3.6 syntax edition). You can find the latest API docs here.
Define the interface for result.
REStype t<'good, 'bad> = | Ok('good) | Error('bad)
type t<'good, 'bad> = | Ok('good) | Error('bad)