Reserved Keywords
Note: Some of these words are reserved purely for compatibility with alternative Reason syntaxes, like OCaml, so they should not be used in your Reason source code.
If you need to use one of these names (for example, to interop with a JavaScript library that needs an object with a key of
"type"like{type: "elephant"}), see the BuckleScript section for handling JS naming collisions.
A
andasassert
B
begin
C
classconstraint
D
dodonedownto(also seeto)
E
else(used withif)endesfunexceptionexternal
F
false(abool, along withtrue)forfunfunctionfunctor
I
ifinincludeinheritinitializer
L
lazylet
M
modulemutable
N
newnonrec
O
objectofopenor
P
pripub
R
rec
S
sigstructswitch
T
thentotruetrytype
V
valvirtual
W
whenwhilewith