[project @ 1997-10-06 17:28:03 by sof]
authorsof <unknown>
Mon, 6 Oct 1997 17:28:03 +0000 (17:28 +0000)
committersof <unknown>
Mon, 6 Oct 1997 17:28:03 +0000 (17:28 +0000)
forkST cleanup

ghc/lib/ghc/ConcBase.lhs

index 20d0346..2efd689 100644 (file)
@@ -48,9 +48,7 @@ forkST (ST action) = ST $ \ s ->
    let
     (r, new_s) = action s
    in
-    new_s `fork__` (r, s)
- where
-    fork__ x y = case (fork# x) of { 0# -> parError; _ -> y }
+    new_s `fork` (r, s)
 
 forkPrimIO :: PrimIO a -> PrimIO a
 forkPrimIO = forkST