aboutsummaryrefslogtreecommitdiff
path: root/user-contrib/Ltac2/Bool.v
AgeCommit message (Collapse)Author
2021-04-17Uniformize the name of the Ltac2 boolean equality function.Pierre-Marie Pédrot
All other equality functions are called "equal" but this one was called "eq". We add a deprecated alias for backward compatibility.
2020-03-18Update headers in the whole code base.Théo Zimmermann
Add headers to a few files which were missing them.
2019-10-07chmod -x some filesJason Gross
They probably don't need to be executable
2019-06-18Removed "b" from function names in Bool.vMichael Soegtrop
Changed year in headers
2019-05-22[Ltac2] Add util files for Bool, List, OptionJason Gross
Most functions are taken either from the Coq standard library or the OCaml standard library. One (`enumerate`) is taken from Python. Most names are chosen according to OCaml conventions (as Coq does not have exceptions, and so the OCaml naming conventions already distinguish between option and exception). Since `exists` is a keyword, we use the Coq name `existsb` instead. We generally favor Coq argument ordering when there is a conflict between Coq and OCaml. Note that `seq` matches neither Coq nor OCaml; it takes a `step` argument for how much to increment by on each step. Sorting functions are mostly taken from Coq's mergesort library; it might make sense to replace them with OCaml's versions for efficiency?