Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
In 0.4 there's the module Test.HMock.Predicates that allowed me to write
expect $ MHttpPost_ (eq "url") (typed @ByteString anything) |-> (status201, "result")
in 0.5 that module is gone and I'm struggling with how to translate the above code. A quick search online didn't yield anything, so if has pointers out there I'd be very happy.
I found the solution to this. The predicates have been moved to an external package.