File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -820,36 +820,6 @@ foreign import ordArrayImpl """
820820 }
821821 " " " :: forall a . (a -> a -> Int ) -> Array a -> Array a -> Int
822822
823- foreign import compareArrayImpl
824- " " "
825- function compareArrayImpl(checkEqOr) {
826- return function(eq) {
827- return function(xs) {
828- return function(ys) {
829- var minlen = xs.length
830- var maxlen = ys.length
831- var result = null
832-
833- if (maxlen < minlen) {
834- var tmp = minlen
835- minlen = maxlen
836- maxlen = tmp
837- }
838-
839- for (var i = 0; i < minlen && result === null; ++i) {
840- checkEqOr(xs[i])(ys[i])(function(other) { result = other })
841- }
842-
843- if (result === null) {
844- result = eq
845- }
846- return result
847- }
848- }
849- }
850- }
851- " " " :: forall a . (a -> a -> (Ordering -> Unit ) -> Unit ) -> Ordering -> Array a -> Array a -> Ordering
852-
853823instance ordOrdering :: Ord Ordering where
854824 compare LT LT = EQ
855825 compare EQ EQ = EQ
You can’t perform that action at this time.
0 commit comments