Reason
Quick StartTryGuideAPICommunityBlogGitHub

Standard Library

Below is the API for the OCaml standard library. It's directly copied over from the OCaml Manual, formatted to the Reason syntax and styled accordingly. The API docs are work-in-progress; we'll be polishing these gradually!

If you're targeting JavaScript, the API docs for BuckleScript includes all of below, plus JS-specific APIs.

Index of class methods


A
attribute [Pprintast.printer]
attributes [Pprintast.printer]

B
binding [Pprintast.printer]
bindings [Pprintast.printer]

C
case_list [Pprintast.printer]
class_expr [Pprintast.printer]
class_field [Pprintast.printer]
class_params_def [Pprintast.printer]
class_signature [Pprintast.printer]
class_structure [Pprintast.printer]
class_type [Pprintast.printer]
class_type_declaration_list [Pprintast.printer]
constant [Pprintast.printer]
constant_string [Pprintast.printer]
core_type [Pprintast.printer]
core_type1 [Pprintast.printer]

D
direction_flag [Pprintast.printer]
directive_argument [Pprintast.printer]

E
exception_declaration [Pprintast.printer]
expression [Pprintast.printer]
expression1 [Pprintast.printer]
expression2 [Pprintast.printer]
extension [Pprintast.printer]
extension_constructor [Pprintast.printer]

F
floating_attribute [Pprintast.printer]

I
item_attribute [Pprintast.printer]
item_attributes [Pprintast.printer]
item_extension [Pprintast.printer]

L
label_exp [Pprintast.printer]
label_x_expression_param [Pprintast.printer]
list [Pprintast.printer]
longident [Pprintast.printer]
longident_loc [Pprintast.printer]

M
module_expr [Pprintast.printer]
module_type [Pprintast.printer]
mutable_flag [Pprintast.printer]

N
nonrec_flag [Pprintast.printer]

O
option [Pprintast.printer]

P
paren [Pprintast.printer]
pattern [Pprintast.printer]
pattern1 [Pprintast.printer]
payload [Pprintast.printer]
private_flag [Pprintast.printer]

R
rec_flag [Pprintast.printer]
reset [Pprintast.printer]
reset_ifthenelse [Pprintast.printer]
reset_pipe [Pprintast.printer]
reset_semi [Pprintast.printer]

S
signature [Pprintast.printer]
signature_item [Pprintast.printer]
simple_expr [Pprintast.printer]
simple_pattern [Pprintast.printer]
string_quot [Pprintast.printer]
structure [Pprintast.printer]
structure_item [Pprintast.printer]
sugar_expr [Pprintast.printer]

T
toplevel_phrase [Pprintast.printer]
type_declaration [Pprintast.printer]
type_def_list [Pprintast.printer]
type_extension [Pprintast.printer]
type_param [Pprintast.printer]
type_params [Pprintast.printer]
type_with_label [Pprintast.printer]
tyvar [Pprintast.printer]

U
under_ifthenelse [Pprintast.printer]
under_pipe [Pprintast.printer]
under_semi [Pprintast.printer]

V
value_description [Pprintast.printer]
virtual_flag [Pprintast.printer]