[Haskell] [ANNOUNCE] network-address-0.2.0

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Sep 8 15:09:38 CEST 2011

On 8 September 2011 23:05, Ben Millwood <haskell at benmachine.co.uk> wrote:
> On Wed, Sep 7, 2011 at 1:03 PM, Sebastian Nowicki <sebnow at gmail.com> wrote:
>> The next release will likely be v1.0.0 as there isn't much to add. I'd
>> like to keep the API stable in that version, I welcome any feedback
>> regarding the API (or otherwise).
> 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.

There is one, in the Address class; readAddress just uses readsAddress.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell mailing list