Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


SSL Loader.v   Sprache: Coq

 
From Ltac2 Require Import Ltac2.

Declare ML Module "rocq-plugin-tutorial.tuto4".

(** A simple function taking an integer and returning a boolean.
   Note that the internal name "the_question" does not need to match the exposed name "question". *)

Ltac2 @external question : int -> bool
  := "rocq-plugin-tutorial.tuto4" "the_question".

(** a wrapper around "exact" *)
Ltac2 @external tuto_exact : constr -> unit
  := "rocq-plugin-tutorial.tuto4" "my_exact".

(** Some custom type. *)
Ltac2 Type custom := [ A | B (constr) ].

(** A function returning true if passed [A] or [B] of some inductive type. *)
Ltac2 @external ind_or_a : custom -> bool
  := "rocq-plugin-tutorial.tuto4" "is_ind_or_a".

(** a function returning [A] if the ident is not an hypothesis,
    or [B t] where [t] is its type if it is. *)

Ltac2 @external check_in_goal : ident -> custom
  := "rocq-plugin-tutorial.tuto4" "check_in_goal".

(** Another custom type, this one abstract on the Ltac2 side. *)
Ltac2 Type custom2.

(** Build a custom2 value. *)
Ltac2 @external mk_custom2 : int -> int -> custom2
  := "rocq-plugin-tutorial.tuto4" "mk_custom2".

(** Get something from a custom2 value. *)
Ltac2 @external sum2 : custom2 -> int
  := "rocq-plugin-tutorial.tuto4" "sum2".

100%


¤ Dauer der Verarbeitung: 0.34 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge