-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sexp for core cohttp types #83
Conversation
mirage/ocaml-uri#4 has a Sexp for Uri patch. I'll release that before merging this. |
now every type comes with sexp converters
Use the uri wrapper in the type definition
I've updated the PR for the new sexp'd version of uri |
Travis failing because of:
|
open Sexplib.Conv | ||
|
||
let sexp_of_t t = | ||
t |> to_list |> sexp_of_list (sexp_of_pair sexp_of_string sexp_of_string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be useful to keep 4.00.1 compatibility for a little while, (since Mirage still supports it). Could this be rewritten without |>
for now, and we can reintroduce them for 1.1.x?
Prepare to release 3.2.0
sexpifying the core of cohttp