
Me too. The reason is in IO predates me. We should add it under a new name
however.
On Thu, Aug 28, 2014 at 5:06 PM, David Feuer
That sounds like a no-brainer to me. On Aug 28, 2014 10:41 AM, "Edward Kmett"
wrote: inet_addr doesn't do any lookups, it is basically a glorified parsing problem converting from a string to a host address.
http://hackage.haskell.org/package/network-2.6.0.1/docs/src/Network-Socket.h...
Why, beyond the obvious implementation details, does it live in IO?
Given that the current version lives in IO, should there be a version that is obviously made pure so that folks who want to use it directly can do so without having to bury it behind an unsafePerformIO?
This isn't a concrete proposal at this time, but more an attempt to sound out if such a proposal should be formed.
-Edward
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries