Please sign in to comment.
Use rank-2 polymorphism to secure ZMQ and Sockets.
Modeled after 'Control.Monad.ST' the ZMQ monad traces control flow with an uninstantiated type variable 'z' which also marks 'Socket' values. 'runZMQ' universally quantifies over 'z' to prevent it from leaking.
- Loading branch information...
Showing with 192 additions and 200 deletions.
Oops, something went wrong.