There is no [@@deriving sexp_of] on purpose as it could only print the 'a value as an integer. Use [%sexp_of: Int.t] or [%sexp_of: Unit.t].
exposed only as a performance hack
module type S = Core__Syscall_result_intf.S with type 'a syscall_result := 'a tmodule type Arg = Core__Syscall_result_intf.Argval create_error : Unix.error -> _ tval unit : Unit.tval is_ok : _ t -> boolval is_error : _ t -> boolval error_exn : _ t -> Unix.error