Library CoqFFI.Extraction

Primitive Signed Integers


From CoqFFI Require Export Int.
Import IntExtraction.

Strings


From CoqFFI Require Export String.
From Coq Require Import ExtrOcamlNativeString.

Booleans


Extract Inductive bool ⇒ "bool" [ "true" "false" ].
Extract Inlined Constant orb ⇒ "(||)".
Extract Inlined Constant andb ⇒ "(&&)".

Options


Extract Inductive option ⇒ "option" [ "Some" "None" ].

Unit


Extract Inductive unitunit [ "()" ].

Products


Extract Inductive prod ⇒ "( * )" [ "" ].

Lists


Extract Inductive list ⇒ "list" [ "[]" "( :: )" ].