[50 of 50] Compiling SafeProcess ( SafeProcess.hs, dist/build/SafeProcess.o )
SafeProcess.hs:62:10: error:
• The constructor ‘ProcessHandle’ should have 3 arguments, but has been given 2
• In the pattern: ProcessHandle pmvar _
In a pattern binding: (ProcessHandle pmvar _) = ph
In the expression:
do let (ProcessHandle pmvar _) = ph
readMVar pmvar
>>=
\case
OpenHandle pid -> signalProcessGroup 15 pid
_ -> return ()
|
62 | let (ProcessHandle pmvar _) = ph
| ^^^^^^^^^^^^^^^^^^^^^
As seen on the Stackage build server: