Le mardi, 3 février 2015 à 19:30, Ashish Agarwal a écrit :
> type tcp_connection_refused = [`TCP_connection_refused]
> type tcp_error = [tcp_connection_refused | `Another_err]

And it should be added, as Leo already mentioned, that if you gathered together 
errors from multiple sources you can easily select only `tcp_error`s by doing  

match e with
| #tcp_error as e -> …
| #other_named_class_of_error as e ->  
| …

Daniel



_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to