Docs
v9.1
v8.2 - v9.0
v6.0 - v8.2
This is the latest docs version
Quick Links
-
Overview
-
Language Features
-
JS Interop
-
Build System
Documentation
Language Manual
Reference for all language features
ReScript & React
First class bindings for ReactJS
GenType
Seamless TypeScript & Flow integration
Reanalyze
Dead Code & Termination analysis
Exploration
Packages
Explore third party libraries and bindings
Syntax Lookup
Discover all syntax constructs
API
Playground
Blog
Community
Playground
Blog
Twitter
Github
Forum
API
/
Js
/
Result
Result
Define the interface for result.
t
type
t<'good, 'bad>
=
|
Ok
('good) |
Error
('bad)