package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_expect-v0.14.0.tar.gz
sha256=c8b2002490a0603e9127b59248fe00bbc6ee9bf63e6f21d3a5011ed9936183f4
md5=2570e8a8ea1e4c16258cafdc0313de96
doc/ppx_expect.matcher/Expect_test_matcher/Cst/Line/index.html
Module Cst.Line
type 'a not_blank = {
trailing_blanks : Base.string;
(*regexp: "
*)\t
*"orig : Base.string;
(*Original contents of the line without the trailing blanks or indentation. regexp: "
*)^\n
*^ \t\n
"data : 'a;
(*Data associated to the line.
*)
}
val sexp_of_not_blank : ('a -> Base.Sexp.t) -> 'a not_blank -> Base.Sexp.t
val sexp_of_t : ('a -> Base.Sexp.t) -> 'a t -> Base.Sexp.t
val map : 'a t -> f:(Base.string -> 'a -> 'b) -> 'b t
The callback receive the orig
and data
fields
val data : 'a t -> blank:'a -> 'a
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>