package amqp-client
Amqp client base library
Install
Dune Dependency
Authors
Maintainers
Sources
2.2.0.tar.gz
md5=7b669f71063296444ffa6103e472f298
sha512=bf2d11fc39f85fea0f8ba510fc91c57d253bcff1407433839a930c0b0392c38829150a08e7c2809bd0d770b4282b101f1b29a46ea6f229305ca9eb6f882b9203
doc/src/amqp-client.lib/option.ml.html
Source file option.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
(**/**) type 'a t = 'a option let get ~default = function | None -> default | Some v -> v let get_exn ?(exn=Invalid_argument "None") = function | None -> raise exn | Some v -> v let map_default ~default ~f = function | None -> default | Some v -> f v let map ~f = function | None -> None | Some v -> Some (f v) let iter ~f = function | None -> () | Some v -> f v (**/**)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>