package ocp-indent
A simple tool to indent OCaml programs
Install
Dune Dependency
Authors
Maintainers
Sources
1.8.0.tar.gz
md5=d4d11e1aaedd7d3268ac7d5813de43ca
sha512=246a97f04b44371900a6f39eab34d9b674d6afa9026e78fce2ef171b5d28fcca0b49f353b2de9d09cb5529b896e47c253acc3074618060862e8a7debd9289afc
doc/ocp-indent.utils/Nstream/index.html
Module Nstream
Source
Stream with efficient n-lookup
Source
type token = {
region : Pos.Region.t;
token : Approx_lexer.token;
newlines : int;
between : string Lazy.t;
substr : string Lazy.t;
offset : int;
}
Enhanced tokens
Creates a stream from a string. Make sure you don't change the string in-place after calling of_string
, or anything could happen
Creates a stream from a channel. Better if you don't want to block, but less efficient
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>