[project @ 2004-08-19 15:43:39 by simonmar]
authorsimonmar <unknown>
Thu, 19 Aug 2004 15:43:39 +0000 (15:43 +0000)
committersimonmar <unknown>
Thu, 19 Aug 2004 15:43:39 +0000 (15:43 +0000)
Build fix

ghc/compiler/ghci/ByteCodeGen.lhs

index 485a285..cad4789 100644 (file)
@@ -1130,7 +1130,7 @@ mkMultiBranch :: Maybe Int        -- # datacons in tycon, if alg alt
               -> BcM BCInstrList
 mkMultiBranch maybe_ncons raw_ways
    = let d_way     = filter (isNoDiscr.fst) raw_ways
-         notd_ways = naturalMergeSortLe 
+         notd_ways = sortLe 
                         (\w1 w2 -> leAlt (fst w1) (fst w2))
                         (filter (not.isNoDiscr.fst) raw_ways)