[Haskell-cafe] Haskell poker server

Bayley, Alistair Alistair_Bayley at ldn.invesco.com
Tue Aug 30 06:29:03 EDT 2005


> From: Cale Gibbard [mailto:cgibbard at gmail.com] 
> 
> Well, here's an attempt at a start on a similar mechanism for Haskell:
> 
> ---------- (start Packet.hs)
> module Packet where
> 
> import Data.Bits
> import Data.Word
> 
> class Packet a where
>     readPacket :: [Word8] -> (a, [Word8])

...

There's a request on LtU for a similar ability (somewhat wider in scope,
perhaps):

http://lambda-the-ultimate.org/node/view/938

There must be a "gap in the market" :-)


Alistair.

-----------------------------------------
*****************************************************************
Confidentiality Note: The information contained in this   message, and any
attachments, may contain confidential   and/or privileged material. It is
intended solely for the   person(s) or entity to which it is addressed. Any
review,   retransmission, dissemination, or taking of any action in
reliance upon this information by persons or entities other   than the
intended recipient(s) is prohibited. If you received  this in error, please
contact the sender and delete the   material from any computer.
*****************************************************************



More information about the Haskell-Cafe mailing list