package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
11.1.1.tar.gz
md5=c8c67fe5fb8d3f44a3b17cc4a93a0e62
sha512=e58557a1b525efd011e0eb539b112b53e6c012ac3fb2153c251be030eda483dd3b19de625707cf5ffebd97fa6a7fabfb8a6aae8e8a61c79e0bd7ad2d289df9a9
doc/src/eliom.server/eliom_cookies_base.ml.html
Source file eliom_cookies_base.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
# 1 "src/lib/eliom_cookies_base.shared.ml" [@@@warning "-39"] [@@@warning "+39"] (** changes to cookieset_to_json must be completed by corresponding changes in cookieset_of_json *) let set = let set = let add key v l = (key, v) :: l in Array.of_list (Ocsigen_cookie_map.Map_inner.fold add set []) in let add key v l = (Array.of_list key, cookietable_array v) :: l in let a = Array.of_list (Ocsigen_cookie_map.Map_path.fold add set []) in Deriving_Json.to_string [%json: cookie_array] a let json = let array = Deriving_Json.from_string [%json: cookie_array] json in let array = Array.fold_left (fun set (name, ) -> Ocsigen_cookie_map.Map_inner.add name cookie set) Ocsigen_cookie_map.Map_inner.empty array in Array.fold_left (fun set (path, ) -> let path = Array.to_list path in Ocsigen_cookie_map.Map_path.add path (cookietable_array cookietable) set) Ocsigen_cookie_map.empty array
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>