haskell-distributed / distributed-process-platform

DEPRECATED (Cloud Haskell Platform) in favor of distributed-process-extras, distributed-process-async, distributed-process-client-server, distributed-process-registry, distributed-process-supervisor, distributed-process-task and distributed-process-execution
http://haskell-distributed.github.com
BSD 3-Clause "New" or "Revised" License
47 stars 18 forks source link

Unified API for making AsyncTask #52

Closed hyperthunk closed 11 years ago

hyperthunk commented 11 years ago

At the moment we have asyncDo but that's pretty ugly, leaving a default local spawn looking like this:

h <- async $ asyncDo $ do ..... 

Urgh. I suspect type synonym families might help here.

hyperthunk commented 11 years ago

merged changes to the async API solve this neatly enough.