(lib network) Should inet_aton be called instead of inet_addr ?
Ian Lynagh
igloo at earth.li
Mon Sep 22 14:46:36 EDT 2008
Hi Marc,
On Thu, Sep 18, 2008 at 03:24:21PM +0200, Marc Weber wrote:
>
> I'd also suggest to change
> inet_addr :: String -> IO HostAddress -- throwing user exception
> to
> inet_addr :: String -> IO (Maybe HostAddress) -- not throwing any exception
> or
> inet_addr :: String -> IO (Either String HostAddress) -- not throwing any exception
Can you please file this as a library proposal?:
http://www.haskell.org/haskellwiki/Library_submissions
Thanks
Ian
More information about the Libraries
mailing list