package sexplib
Library for serializing OCaml values to and from S-expressions
Install
Dune Dependency
Authors
Maintainers
Sources
sexplib-v0.16.0.tar.gz
sha256=e564d5d1ca157314ba5fd64b4e89fa12c6cba8efee3becf6d09d7d9dda21ac5b
doc/src/sexplib.unix/sexplib_unix_conv.ml.html
Source file sexplib_unix_conv.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
(** Exception sexp converters that are Unix-specific. Handles [Unix.Unix_error]. Write [let () = Sexplib_unix.Sexplib_unix_conv.linkme] in your program to ensure that the code in this module is run, i.e. the unix-specific exception converters are added. This is already done by [Core], so any application that uses Core need not worry about this module at all. *) open Sexplib.Sexp open Sexplib.Conv let () = Exn_converter.add ~printexc:false ~finalise:false [%extension_constructor Unix.Unix_error] (function | Unix.Unix_error (err, loc, arg) -> let err_str = Unix.error_message err in List [ Atom "Unix.Unix_error"; Atom err_str; Atom loc; Atom arg ] | _ -> assert false) ;; let linkme = ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>