package camlimages
Image processing library
Install
dune-project
Dependency
Authors
Maintainers
Sources
camlimages-5.0.4.tar.bz2
sha256=1c9a68bdc3d348c9f859d490dadf384926213e47a584159832f7fc4a20242865
md5=1ddba74d210b86a899b5d6565f45c2dc
doc/src/camlimages.exif/exifutil.ml.html
Source file exifutil.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 39 40 41
module Format = struct include Format let array f ppf a = let len = Array.length a in fprintf ppf "@[[| @["; Array.iteri (fun i v -> f ppf v; if i < len - 1 then fprintf ppf ";@ ") a; fprintf ppf "@] |]@]" let rec list (sep : (unit, formatter, unit) format) f ppf = function | [] -> () | [x] -> f ppf x | x::xs -> fprintf ppf "@[%a@]%t%a" f x (fun ppf -> fprintf ppf sep) (list sep f) xs let opt f ppf = function | None -> fprintf ppf "None" | Some v -> f ppf v let option f ppf = function | None -> fprintf ppf "None" | Some v -> fprintf ppf "Some (%a)" f v end module List = struct include List let rec find_map_opt f = function | [] -> None | x::xs -> match f x with | Some v -> Some v | None -> find_map_opt f xs end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>