package lascar
A library for manipulating Labeled Transition Systems in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
lascar-0.6-alpha.tbz
sha256=e33fd94f167bd7bc69f30d7a550226126692a00dac9b29c28ff0ff0aca7d7a21
sha512=98fe84ea351a288d371490f002c52c2e3637841f7fafadb1c3a1acb82befc436bbc6321b1c37fb1e2121b595e7fcb33da45510f3b623006a1d1b56d905313058
doc/lascar.utils/Utils/StringExt/index.html
Module Utils.StringExt
Source
Extension to the Stdlib.String
module
Tests whether the string starts with an uppercase letter
Decomposes a string into characters. Example: explode "abc" = ["a";"b";"c"]
escape_car c s
replaces each occurence of character c
in s
by its escaped version. Example: escape 'z' "azb" = "a\zb"
. This function is useful for generating HTML-compatible strings
remove_car c s
removes all occurences of character c
in s
concat_sep sep [s1;..;sN]
returns the concatenation of strings s1
,..,sN
using sep
as a separator when needed. Examples: concat "," ["hello";"world"] = "hello,world"
; concat_sep ":" ["";"xy"] = "xy"
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>