package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-5.3-502.tbz
sha256=2cea46f12397fa6e31ef0c0d4f5e11c1cfd916ee49420694005c95ebb3aa24bc
sha512=e94abb9ae38149245337db033e2c3891c7ec772168e99abf1bda0216a894c0854e7170b56fe88eba83ec98f2ebc0f5c7c723e8db14f59eeb6dd348bec12c6d62
doc/merlin-lib.ocaml_typing/Ocaml_typing/Path/index.html
Module Ocaml_typing.Path
Source
Source
type t =
| Pident of Ident.t
(*Examples: x, List, int
*)| Pdot of t * string
(*Examples: List.map, Float.Array
*)| Papply of t * t
(*Examples: Set.Make(Int), Map.Make(Set.Make(Int))
*)| Pextra_ty of t * extra_ty
(*
*)Pextra_ty (p, extra)
are additional paths of types introduced by specific OCaml constructs. See below.
Source
and extra_ty =
| Pcstr_ty of string
(*Pextra_ty (p, Pcstr_ty c)
is the type of the inline record for constructorc
inside typep
.For example, in
type 'a t = Nil | Cons of {hd : 'a; tl : 'a t}
The inline record type
*){hd : 'a; tl : 'a t}
cannot be named by the user in the surface syntax, but internally it has the pathPextra_ty (Pident `t`, Pcstr_ty "Cons")
.| Pext_ty
(*Pextra_ty (p, Pext_ty)
is the type of the inline record for the extension constructorp
.For example, in
type exn += Error of {loc : loc; msg : string}
The inline record type
*){loc : loc; msg : string}
cannot be named by the user in the surface syntax, but internally it has the pathPextra_ty (Pident `Error`, Pext_ty)
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>