package logtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val at : t -> Position.t -> t

retrieve subterm at pos

  • raises Invalid_argument

    if the position is invalid

val replace : t -> Position.t -> by:t -> t

replace t pos ~by replaces the subterm at position pos in t by the term by. The two terms should have the same type.

  • raises Invalid_argument

    if the position is not valid