package odoc

  1. Overview
  2. Docs

doc/odoc.model/Odoc_model/Paths/Identifier/FunctorParameter/index.html

Module Identifier.FunctorParameterSource

include IdSig with type t = t and type t_pv = t_pv
Sourcetype t = t_pv id
Sourcetype t_pv = [
  1. | `Parameter of Signature.t * Names.ModuleName.t
]
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval compare : t -> t -> int
Sourceval functor_arg_pos : t -> int

Gets the index in which the functor argument is, in the argument list. Useful to turn identifiers into unique anchors, since multiple arguments can have the same name.

OCaml

Innovation. Community. Security.