package odoc
OCaml Documentation Generator
Install
Dune Dependency
Authors
Maintainers
Sources
odoc-3.0.0.tbz
sha256=ce84fa7e0cc5f3e8a54e6adeb10826152798b602057b9e46c5ae7e5d5206812b
sha512=9febd413450ca2e3824c9ef7e1c9ae8d8094aa72ed71327a69d8d6b42f6f197b3f3f40d674de0d11fa1242ee0df95c693b5d74467d530704e1339f3a523452f6
doc/src/odoc.odoc/or_error.ml.html
Source file or_error.ml
1 2 3 4 5 6 7 8 9
type ('a, 'e) result = ('a, 'e) Result.result = Ok of 'a | Error of 'e type msg = [ `Msg of string ] let ( >>= ) r f = match r with Ok v -> f v | Error _ as e -> e let rec fold_list f acc = function | [] -> Ok acc | hd :: tl -> f acc hd >>= fun acc -> fold_list f acc tl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>