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
Hmm, that's tricky indeed; I definitely would've been tripped up by that at some point.
For anyone else who wonders why this isn't possible #26 discusses the implications of (<*>) /= ap and #38 from either includes discussion of how Haxl deals with this issue.
In light of the
ApplicativeDo
extension made available in GHC 8.0.1, I'd like to propose the followingMonad
instance forConcurrently
.Where bind simply runs two
Concurrently
actions sequentially. This should allow one to write things of the form:The desugared expression will require
join
, and should allowf
to wait ona
andb
, which may run concurrently.The text was updated successfully, but these errors were encountered: