(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
RequireImport Ltac2.Init.
Ltac2 @ external print : message -> unit := "rocq-runtime.plugins.ltac2""print".
Ltac2 @ external of_constr : constr -> message := "rocq-runtime.plugins.ltac2""message_of_constr". (** Panics if there is more than one goal under focus. *)
Ltac2 @ external of_exn : exn -> message := "rocq-runtime.plugins.ltac2""message_of_exn". (** Panics if there is more than one goal under focus. *)
Ltac2 @external force_new_line : message := "rocq-runtime.plugins.ltac2""message_force_new_line". (** Force writing on a new line after this. Warning: partially reinitialises the pretty-printing engine, potentially leading to bad printing afterwards.
Prefer using a break hint inside a vertical box. *)
Ltac2 @external break : int -> int -> message := "rocq-runtime.plugins.ltac2""message_break". (** General break hint: [break n i] either prints [n] spaces or splits
the line adding [i] to the current indentation. *)
Ltac2 @external space : message := "rocq-runtime.plugins.ltac2""message_space". (** Breaking space. Equivalent to [break 1 0]. *)
Ltac2 @external hbox : message -> message := "rocq-runtime.plugins.ltac2""message_hbox". (** Horizontal box. Break hints in a horizontal box never split the line (nested boxes inside the horizontal box may allow line
splitting). *)
Ltac2 @external vbox : int -> message -> message := "rocq-runtime.plugins.ltac2""message_vbox". (** Vertical box. Every break hint in a vertical box splits the line.
The [int] is added to the current indentation when splitting the line. *)
Ltac2 @external hvbox : int -> message -> message := "rocq-runtime.plugins.ltac2""message_hvbox". (** Horizontal/vertical box. Behaves as a horizontal box if it fits on a single line, otherwise behaves as a vertical box (using the
given [int]). *)
Ltac2 @external hovbox : int -> message -> message := "rocq-runtime.plugins.ltac2""message_hovbox". (** Horizonal-or-vertical box. Prints as much as possible on each line, splitting the line at break hints when there is no more room on the line (see "Printing Width" option). The [int] is added to
the indentation when splitting the line. *)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.