You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/ParTests_shared.hs:88:7: error:
• No instance for (Control.Monad.Fail.MonadFail Par)
arising from a do statement
with the failable pattern ‘[a, b, c, d]’
• In a stmt of a 'do' block:
[a, b, c, d] <- sequence [new, new, new, new]
In the second argument of ‘($)’, namely
‘do [a, b, c, d] <- sequence [new, new, ....]
fork
$ do x <- get a
put b (x + 1)
fork
$ do x <- get a
put c (x + 2)
fork
$ do x <- get b
y <- get c
....
....’
In the expression:
runPar
$ do [a, b, c, d] <- sequence [new, new, ....]
fork
$ do x <- get a
put b (x + 1)
fork
$ do x <- get a
put c (x + 2)
fork
$ do x <- get b
y <- get c
....
....
|
88 | [a,b,c,d] <- sequence [new,new,new,new]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~~~
The text was updated successfully, but these errors were encountered:
I get several errors of the following kind:
The text was updated successfully, but these errors were encountered: