Erlang-style Distributed Haskell
Welcome to Erlang-style Distributed Haskell, a package for developing robust distributed Haskell applications for open system using a mechanism much similar to that in Erlang.
It was proposed by Frank Huch at ICFP'99. You can get the corresponding paper here.
Features
- Erlang style communication using nodes and pids for sending data
deriving (Show,Read)
- Concurrency (using Haskell's
Concurrent module)
- A preprocessor for easy program creation from
.dhs files (desugars <!> & receive)
- A couple of example programs including Dish, the Distributed Haskell Shell for testing your Distributed Haskell programs.
- Written entirely in Literate Haskell :-)
Examples
- A simple 'distributed' counter
- A graphical peer-to-peer Talk-application using gtk+hs
- A small single-threaded database to show the concepts of
linking and receiveAfter
Requirements
Download
The repository contains a recent version of Distributed Haskell, including a couple of demonstration programs.
- The source-archive via SVN (also get haskell/network
- The preprocessor currently doesn't have all the features it should, actually almost the only thing it does is expanding
receive & receive after blocks. As it is based on an old version of hsparser, we don't think it can handle all of ghc's new constructs. Anyway, here are the diffs.
Volker Stolz
Last modified: Wed Jan 31 16:25:39 CET 2001