package ocp-indent
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A simple tool to indent OCaml programs
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocp-indent-1.10.0.tbz
sha256=e47c8476554f792ddcb9e73de9e86461266a56674e489d744498be610556c1b7
sha512=8c3e6a05f0692772a14aa533aa436d15100ea28be6592f51174811689ce8c3b717c78803189e450574ae982ab4a062b01251e1e57b971ce95dbd3f41265515f2
doc/ocp-indent.utils/Nstream/index.html
Module NstreamSource
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
Source
val of_string :
?filename:string ->
?start_pos:Pos.Position.t ->
?start_offset:int ->
string ->
tCreates 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)"
>