Quantcast
Viewing all articles
Browse latest Browse all 10

Parallel Composition in Haskell

CHP, my Haskell concurrency library, allows you to run processes in parallel. One way of doing so is this binary operator: (<||>) :: CHP a -> CHP b -> CHP (a, b) Informally, the behaviour is as follows: this starts both processes running (using Haskell’s forkIO under the hood) and waits for them both to [...]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 10

Trending Articles