package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56
doc/src/dream-httpaf.websocketaf/optional_thunk.ml.html
Source file optional_thunk.ml
1 2 3 4 5 6 7 8 9 10 11 12
type t = unit -> unit let none = Sys.opaque_identity (fun () -> ()) let some f = if f == none then failwith "Optional_thunk: this function is not representable as a some value"; f let is_none t = t == none let is_some t = not (is_none t) let call_if_some t = t () let unchecked_value t = t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>