package streamable
A collection of types suitable for incremental serialization.
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.1.tar.gz
md5=f8ef1a28079f4e6e6617ba2cfa51bc4e
sha512=2f56d8b10032756c3190b0e68094f0c89f96f9f3fc39d5a8c62f340abe837c7ba1c75f99c914213cbb6376dc6f3abac689110d18af226998bba4484dd9ff3c47
doc/src/ppx_streamable/tuple_clause.ml.html
Source file tuple_clause.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
open! Base open! Import let tuple_core_types ~core_type = match core_type.ptyp_desc with | Ptyp_tuple core_types -> Some core_types | _ -> None ;; let maybe_match type_ (_ : Ctx.t) = let%bind core_type = Type_.match_core_type type_ in let%map tuple_core_types = tuple_core_types ~core_type in ({ children = List.map tuple_core_types ~f:Type_.core_type ; apply_functor = (fun ctx children_modules -> let children = List.zip_exn tuple_core_types children_modules in Nested_tuple.streamable_of_tuple ctx children) } : Clause.Match.t) ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>