On Thu, Sep 8, 2011 at 2:05 PM, Ben Millwood <hask...@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. _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell