[Haskell-cafe] Cleaner networking API - network-fancy
Magnus Therning
magnus at therning.org
Thu Aug 13 06:32:15 EDT 2009
On Thu, Aug 13, 2009 at 9:14 AM, Taru Karttunen<taruti at taruti.net> wrote:
> Hello
>
> network-fancy offers a cleaner API to networking facilities in
> Haskell. It supports high-level operations on tcp, udp and unix
> sockets.
>
> I would like some feedback on the API
> http://hackage.haskell.org/packages/archive/network-fancy/0.1.4/doc/html/Network-Fancy.html
>
> In particular:
> * Does the type of the server function in dgramServer make sense?
> or would (packet -> Address -> (packet -> IO ()) -> IO ()) be
> better?
> * Does the StringLike class make sense?
> * Any other suggestions?
There is already a getHostName in Network.BSD, any reason for not using it?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
More information about the Haskell-Cafe
mailing list