Closed twhitehead closed 10 years ago
Wow, thanks for taking the time to figure that out! I also greatly appreciate how much you simplified the code. It's much easier to understand now. Now I see the error you're talking about.
Hey, no problem! Glad to have a chance to help out a bit.
Hoping to get a chance to take the pipes framework out for a spin sometime soon.
The mistake was pushing the original base monad unmask operation through the entire pipe unmask operation via unsafeHoist as any wait or yield inside the pipe unmask operation results in switching to a new base monad mask and invalidates the previous unmask operation.