2008/12/28 Bryan O'Sullivan <[email protected]>: > 2008/12/27 John Van Enk <[email protected]> >> >> Currently this only has: >> >> htons >> htonl >> ntohs >> ntohl > > This is all subsumed by the binary package (Data.Binary), where it makes a > lot more sense in any instance.
That seems like an awfully heavy dependency just to get those simple functions. I would rather define them locally in my program than pull in the binary package. Besides, will GHC be able to optimize away all of the Data.Binary stuff so the functions, if defined in terms of Data.Binary, are as efficient as a direct implementation? Cheers, Johan _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
