package reason
Reason: Syntax & Toolchain for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
reason-3.6.2.tgz
sha256=c4df440525581e721ec5b2c02d11e9517bf75da0e6773258793821af554ec1fa
md5=d6de40f280f1c229f9cb26eb4015f1c5
doc/reason.ocaml-migrate-parsetree/Reason_migrate_parsetree/Ast_io/index.html
Module Reason_migrate_parsetree.Ast_io
type ast =
| Impl : (module Reason_migrate_parsetree__.Migrate_parsetree_versions.OCaml_version with type Ast.Parsetree.structure = 'concrete) * 'concrete -> ast
| Intf : (module Reason_migrate_parsetree__.Migrate_parsetree_versions.OCaml_version with type Ast.Parsetree.signature = 'concrete) * 'concrete -> ast
A marshalled ast packs the ast with the corresponding version of the frontend
val from_channel : in_channel -> (filename * ast, read_error) Result.result
Load a marshalled AST from a channel
Any exception raised during unmarshalling (see Marshal
) can escape.
val from_bytes : bytes -> int -> (filename * ast, read_error) Result.result
Load a marshalled AST from a byte string.
See from_channel
description for exception that can be raised.
val to_channel : out_channel -> filename -> ast -> unit
Marshal an AST to a channel
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>