Skip to content
Snippets Groups Projects
Commit a2e5c0a8 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-03-25 13:10:32 by simonm]

Remove #ifdef __CONCURRENT_HASKELL__, update for H98.
parent 48a92261
No related merge requests found
......@@ -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}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment