mirage/ocaml-ipaddr — pull request #30 by avsm (2014-05-26 15:36:40+00:00)
Title: Add with sexp serializers to Ipaddr

This adds sexp serializers to all the Ipaddr types.

The representation of IPv4/6 addresses is specialized to the same as the human-readable string, so the internal representation is not exposed. The other types (such as Prefix) are represented using the default sexp conversion functions for variants and tuples.

Note that I haven't added compare here, as I'm not using them myself (and am not sure exactly which types it makes sense to have it for). Just sexp would unblock the Conduit changes for now if that's more trouble.