package ocp-indent
A simple tool to indent OCaml programs
Install
Dune Dependency
Authors
Maintainers
Sources
1.6.1.tar.gz
sha256=f314fa1d6f1ece652a291b552f1f49ec6439c9c3f5e7819e16de5c08d4588fe2
md5=935d03f4f6376d687c46f350ff5eecdd
doc/ocp-indent.utils/Nstream/index.html
Module Nstream
Stream with efficient n-lookup
type token = {
region : Pos.Region.t;
token : Approx_lexer.token;
newlines : int;
between : string Lazy.t;
substr : string Lazy.t;
offset : int;
}
Enhanced tokens
val of_string : ?start_pos:Pos.Position.t -> ?start_offset:int -> string -> t
Creates a stream from a string. Make sure you don't change the string in-place after calling of_string
, or anything could happen
val of_channel : ?start_pos:Pos.Position.t -> in_channel -> t
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)"
>