[project @ 1999-03-25 13:10:32 by simonm]
authorsimonm <unknown>
Thu, 25 Mar 1999 13:10:32 +0000 (13:10 +0000)
committersimonm <unknown>
Thu, 25 Mar 1999 13:10:32 +0000 (13:10 +0000)
Remove #ifdef __CONCURRENT_HASKELL__, update for H98.

ghc/lib/concurrent/Merge.lhs

index 73cacc5..5414c97 100644 (file)
@@ -24,13 +24,6 @@ max_buff_size = 1
 mergeIO :: [a] -> [a] -> IO [a]
 nmergeIO :: [[a]] -> IO [a]
 
-#ifndef __CONCURRENT_HASKELL__
-
-mergeIO _ _  = return []
-nmergeIO _   = return []
-
-#else
-
 mergeIO ls rs
  = newEmptyMVar                       >>= \ tail_node ->
    newMVar tail_node          >>= \ tail_list ->
@@ -87,7 +80,5 @@ nmergeIO lss
     signalQSem e       >>
     return val
   where
-    mapIO f xs = accumulate (map f xs)
-
-#endif {- __CONCURRENT_HASKELL__ -}
+    mapIO f xs = sequence (map f xs)
 \end{code}