Skip to content
Snippets Groups Projects
Commit 79fc3041 authored by sof's avatar sof
Browse files

[project @ 1997-09-24 00:58:27 by sof]

Enable fork# with __CONCURRENT_HASKELL__
parent 62b82b69
No related merge requests found
......@@ -69,11 +69,16 @@ par, fork :: Eval a => a -> b -> b
#if defined(__PARALLEL_HASKELL__) || defined (__GRANSIM__)
par x y = case (par# x) of { 0# -> parError; _ -> y }
fork x y = case (fork# x) of { 0# -> parError; _ -> y }
#else
par x y = y
#endif
#if defined(__CONCURRENT_HASKELL__) || defined (__GRANSIM__)
fork x y = case (fork# x) of { 0# -> parError; _ -> y }
#else
fork x y = y
#endif
\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