package alba
Alba compiler
Install
Dune Dependency
Authors
Maintainers
Sources
0.4.1.tar.gz
sha256=439b1dce07c86e914d1ebf1712c5581418314b0c8d13594f27a698b1d25fe272
md5=5cf58d4ed4eacbe6f330e9d2378ef5c6
doc/alba.albalib/Albalib/Alba_console/Make/argument-1-IO/Path/index.html
Module IO.Path
val absolute : string -> string t
absolute path
converts path
into an absolute path.
split path
splits path
into a dirname and a basename if possible.
Examples:
split "" = None
split "/" = None
split "/hello" = Some ("/", "hello")
split "/User/name/xxx/" = Some("/User/name", "xxx")
split "/User/name/xxx" = Some("/User/name", "xxx")
normalize path
removes duplicate path separators and normalizes "." and ".." segments.
Examples:
normalize "" = "."
normalize "/" = "/"
normalize "////" = "/"
normalize "a//b" = "a/b"
normalize "a/./b" = "a/b"
normalize "a/../b" = "b"
normalize "a/b/../../c" = "c"
normalize "../a" = "../a"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>