package core
Industrial strength alternative to OCaml's standard library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=743a141234e04210e295980f7a78a6d9
sha512=61b415f4fb12c78d30649fff1aabe3a475eea926ce6edb7774031f4dc7f37ea51f5d9337ead6ec73cd93da5fd1ed0f2738c210c71ebc8fe9d7f6135a06bd176f
doc/src/core/core_pervasives.ml.html
Source file core_pervasives.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
include Stdlib (* At Jane Street, the OCaml stdlib is patched to define [Pervasives.raise] as the ["%reraise"] primitive. We do this as the compiler is currently not good enough at automatically detecting reraise [1]. We patch the stdlib so that everything is affected, including libraries defined before base such as sexplib or non Jane Street libraries. We need this definition so that this implementation can match its interface with the patched stdlib and with the original one. [[1] http://caml.inria.fr/mantis/view.php?id=6556 *) external raise : exn -> 'a = "%reraise" external ignore : ('a[@local_opt]) -> unit = "%ignore" [%%if ocaml_version < (4, 12, 0)] let __FUNCTION__ = "<__FUNCTION__ not supported before OCaml 4.12>" [%%endif] external __LOC_OF__ : ('a[@local_opt]) -> (string * 'a[@local_opt]) = "%loc_LOC" external __LINE_OF__ : ('a[@local_opt]) -> (int * 'a[@local_opt]) = "%loc_LINE" external __POS_OF__ : ('a[@local_opt]) -> ((string * int * int * int) * 'a[@local_opt]) = "%loc_POS" external ( |> ) : 'a -> (('a -> 'b)[@local_opt]) -> 'b = "%revapply" external ( @@ ) : (('a -> 'b)[@local_opt]) -> 'a -> 'b = "%apply" external int_of_char : (char[@local_opt]) -> int = "%identity" external format_of_string : (('a, 'b, 'c, 'd, 'e, 'f) format6[@local_opt]) -> (('a, 'b, 'c, 'd, 'e, 'f) format6[@local_opt]) = "%identity"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>