package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.14.1.tar.gz
sha256=3cbfc1e1a72b16d4744f5b64ede59586071e31d9c11c811a0372060727bfd9c3
doc/ltac2_plugin/Ltac2_plugin/Tac2ffi/index.html
Module Ltac2_plugin.Tac2ffi
Source
Toplevel values
Source
type valexpr =
| ValInt of int
(*Immediate integers
*)| ValBlk of Tac2expr.tag * valexpr array
(*Structured blocks
*)| ValStr of Stdlib.Bytes.t
(*Strings
*)| ValCls of closure
(*Closures
*)| ValOpn of Names.KerName.t * valexpr array
(*Open constructors
*)| ValExt : 'a Tac2dyn.Val.tag * 'a -> valexpr
(*Arbitrary data
*)| ValUint63 of Uint63.t
(*Primitive integers
*)| ValFloat of Float64.t
(*Primitive floats
*)
Ltac2 FFI
These functions allow to convert back and forth between OCaml and Ltac2 data representation. The to_*
functions raise an anomaly whenever the data has not expected shape.
Dynamic tags
Toplevel representation of OCaml exceptions. Invariant: no LtacError
should be put into a value with tag val_exn
.
Closures
Given a closure, apply it to some arguments. Handling of argument mismatches is done automatically, i.e. in case of over or under-application.
Turn a fixed-arity function into a closure. The inner function is guaranteed to be applied to a list whose size is the integer argument.
Exception
Ltac2-defined exceptions seen from OCaml side
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page