Core.Std.Bool

Reviewed By: cristianoc

Differential Revision: D4232426

fbshipit-source-id: d311006
master
Josh Berdine 8 years ago committed by Facebook Github Bot
parent e415b73786
commit 782e9d69f6

@ -2159,7 +2159,7 @@ let compare_structural_instr instr1 instr2 exp_map => {
if (n != 0) { if (n != 0) {
n n
} else { } else {
let n = Core.Std.Bool.compare true_branch1 true_branch2; let n = Bool.compare true_branch1 true_branch2;
if (n != 0) { if (n != 0) {
n n
} else { } else {

@ -10,6 +10,7 @@
(** General utility functions and definition with global scope *) (** General utility functions and definition with global scope *)
module Bool = Core.Std.Bool
module Int = Core.Std.Int module Int = Core.Std.Int
module String = Core.Std.String module String = Core.Std.String

@ -10,6 +10,7 @@
(** General utility functions *) (** General utility functions *)
module Bool = Core.Std.Bool
module Int = Core.Std.Int module Int = Core.Std.Int
module String = Core.Std.String module String = Core.Std.String

@ -152,7 +152,7 @@ module State = struct
let elem' = Elem.set_env elem env' in let elem' = Elem.set_env elem env' in
[elem'] [elem']
| Some b' -> | Some b' ->
if Core.Std.Bool.equal b b' then [elem] if Bool.equal b b' then [elem]
else [] in else [] in
map2 f s map2 f s

Loading…
Cancel
Save