package logtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Subst.TySource

Sourcetype term = Type.t
Sourcetype t = subst
Sourceval find_exn : t -> var Scoped.t -> term Scoped.t
Sourceval get_var : t -> var Scoped.t -> term Scoped.t option
Sourceval deref : t -> term Scoped.t -> term Scoped.t
Sourceval apply : ?shift_vars:int -> Renaming.t -> t -> term Scoped.t -> term

Apply the substitution to the given term/type.

  • parameter renaming

    used to desambiguate free variables from distinct scopes

Sourceval bind : t -> var Scoped.t -> term Scoped.t -> t

Add v -> t to the substitution. Both terms have a context.

Sourceval update : t -> var Scoped.t -> term Scoped.t -> t

Replace v -> ? by v -> t in the substitution. Both terms have a context.

Sourceval of_list : ?init:t -> (var Scoped.t * term Scoped.t) list -> t
OCaml

Innovation. Community. Security.