forked from rescript-lang/rescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinary.res.txt
More file actions
25 lines (25 loc) · 960 Bytes
/
binary.res.txt
File metadata and controls
25 lines (25 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
;;node := (if newBalance == 2 then avl |.u (rotateRight node) else node)
;;node := ((if newBalance == 2 then avl |.u (rotateRight node) else node)
[@attr ])
let x = (match z with | _ -> false) z
let x = ((match z with | _ -> false)[@attr ]) z
let x = (assert z) z
let x = ((assert z)[@attr ]) z
let x = (try sideEffect () with | _ -> f ()) z
let x = ((try sideEffect () with | _ -> f ())[@attr ]) z
let x = for i = 0 to 10 do () done z
let x = ((for i = 0 to 10 do () done)[@attr ]) z
let x = while condition do () done z
let x = ((while condition do () done)[@attr ]) z
let x = (a + (-1)) + (-2)
let x = (a + (((-1))[@attr ])) + (((-2))[@attr ])
let x = (a % a) = 0
let x = a - b
let x = a -. b
;;Constructor (a, b)
;;`Constructor (a, b)
let _ = ((Constructor (a, b); `Constructor (a, b))[@res.braces ])
;;(library.getBalance account) |.u
(Promise.Js.catch
((Function$ (fun _ -> ((Promise.resolved None)[@res.braces ])))
[@res.arity 1]))