Building library for async-pool-0.9.1.. [30/182284]
[1 of 3] Compiling Control.Concurrent.Async.Pool.Async
/var/stackage/work/unpack-dir/unpacked/async-pool-0.9.1-525b46e6a39c80b7461e8cd146d540c27d47abc717b746ff34c21aa9b1c47743/Control/Con
current/Async/Pool/Async.hs:714:16: error:
• Couldn't match expected type: State# RealWorld
-> (# State# RealWorld, a1 #)
with actual type: IO ()
• In the first argument of ‘fork#’, namely ‘action’
In the expression: fork# action s
In the expression:
case (fork# action s) of (# s1, tid #) -> (# s1, ThreadId tid #)
|
714 | case (fork# action s) of (# s1, tid #) -> (# s1, ThreadId tid #)
| ^^^^^^
/var/stackage/work/unpack-dir/unpacked/async-pool-0.9.1-525b46e6a39c80b7461e8cd146d540c27d47abc717b746ff34c21aa9b1c47743/Control/Con
current/Async/Pool/Async.hs:719:22: error:
• Couldn't match expected type: State# RealWorld
-> (# State# RealWorld, a0 #)
with actual type: IO ()
• In the second argument of ‘forkOn#’, namely ‘action’
In the expression: forkOn# cpu action s
In the expression:
case (forkOn# cpu action s) of
(# s1, tid #) -> (# s1, ThreadId tid #)
|
719 | case (forkOn# cpu action s) of (# s1, tid #) -> (# s1, ThreadId tid #)
| ^^^^^^