[Haskell] [ANNOUNCE] network-address-0.2.0
Ben Millwood
haskell at benmachine.co.uk
Thu Sep 8 15:11:22 CEST 2011
On Thu, Sep 8, 2011 at 2:05 PM, Ben Millwood <haskell at benmachine.co.uk> wrote:
> The main problem is lacking an effective way to parse addresses from
> strings - the readAddress interface is unsafe and doesn't give the
> remainder of the string. Consider using the ReadS convention,
> providing a function readsAddress :: String -> [(a,String)] which
> provides all possible parses (usually at most one) and the remainder
> of the string. Then users can parse addresses followed by other data
> easily.
Oh, ignore this. The haddock docs hadn't built so I used cabal unpack
to take a look, but I evidently haven't updated recently and got 0.1.0
instead :(
The other points still stand, and also I'd point out that Subnet could
also be implemented with type families rather than MPTCs+fundeps.
More information about the Haskell
mailing list