Repository navigation
Releases
Releases · avieth/Concurrential
0.5.0.0
With this release, the applicative and monad instances for Concurrential agree. That's to say, <*> = ap for this type. The ConcurrentialAp type is introduced, which is not a monad, and whose applicative instance can yield concurrency.
This release also removes the monad parameter to Concurrential.
0.4.0.0
This release features a big change to the semantics of Concurrential: the removal of the "blind bind", in which sequential terms after a bind will be run concurrently with any term in that bind. For instance:
(sequentially (return ()) >> sequentially (threadDelay 1000000 >> putStrLn "Hello"))
*> (sequentially (putStrLn "World"))
would almost always print
World
Hello
before this release. With 0.4.0.0, it always prints
Hello
World
as you might have expected.