Haskell examples.
-
monads/state/stack.hs
State monad used for stack implementation.
-
network/echoserver.hs
Echo server implementation. Usage: ./echoserver <port>
-
network/forkechoserver.hs
Echo server using forkIO to handle client connections. Usage: ./echoserver <port>
-
network/getaddrinfo.hs
Example usage of getaddrinfo. Usage: ./getaddrinfo <host> <port>
-
thrift/service
Simple service implementation with working client and server.
-
thrift/test
Basic usage example of Apache Thrift with haskell. Define a message and print it. Just type make and ./test.