@@ -81,13 +81,7 @@ function Make(Ord) {
81
81
return create ( create ( l , x , d , rl . _0 ) , rl . _1 , rl . _2 , create ( rl . _3 , rv , rd , rr ) ) ;
82
82
}
83
83
} ;
84
- let is_empty = x => {
85
- if ( typeof x !== "object" ) {
86
- return true ;
87
- } else {
88
- return false ;
89
- }
90
- } ;
84
+ let is_empty = x => typeof x !== "object" ;
91
85
let add = ( x , data , x_ ) => {
92
86
if ( typeof x_ !== "object" ) {
93
87
return {
@@ -523,11 +517,7 @@ function Make(Ord) {
523
517
let e2 = _e2 ;
524
518
let e1 = _e1 ;
525
519
if ( typeof e1 !== "object" ) {
526
- if ( typeof e2 !== "object" ) {
527
- return true ;
528
- } else {
529
- return false ;
530
- }
520
+ return typeof e2 !== "object" ;
531
521
}
532
522
if ( typeof e2 !== "object" ) {
533
523
return false ;
@@ -688,11 +678,7 @@ function bal(l, x, d, r) {
688
678
}
689
679
690
680
function is_empty ( x ) {
691
- if ( typeof x !== "object" ) {
692
- return true ;
693
- } else {
694
- return false ;
695
- }
681
+ return typeof x !== "object" ;
696
682
}
697
683
698
684
function add ( x , data , x_ ) {
@@ -1154,11 +1140,7 @@ function equal(cmp, m1, m2) {
1154
1140
let e2 = _e2 ;
1155
1141
let e1 = _e1 ;
1156
1142
if ( typeof e1 !== "object" ) {
1157
- if ( typeof e2 !== "object" ) {
1158
- return true ;
1159
- } else {
1160
- return false ;
1161
- }
1143
+ return typeof e2 !== "object" ;
1162
1144
}
1163
1145
if ( typeof e2 !== "object" ) {
1164
1146
return false ;
@@ -1350,11 +1332,7 @@ function bal$1(l, x, d, r) {
1350
1332
}
1351
1333
1352
1334
function is_empty$1 ( x ) {
1353
- if ( typeof x !== "object" ) {
1354
- return true ;
1355
- } else {
1356
- return false ;
1357
- }
1335
+ return typeof x !== "object" ;
1358
1336
}
1359
1337
1360
1338
function add$1 ( x , data , x_ ) {
@@ -1816,11 +1794,7 @@ function equal$1(cmp, m1, m2) {
1816
1794
let e2 = _e2 ;
1817
1795
let e1 = _e1 ;
1818
1796
if ( typeof e1 !== "object" ) {
1819
- if ( typeof e2 !== "object" ) {
1820
- return true ;
1821
- } else {
1822
- return false ;
1823
- }
1797
+ return typeof e2 !== "object" ;
1824
1798
}
1825
1799
if ( typeof e2 !== "object" ) {
1826
1800
return false ;
0 commit comments