Skip to content

Commit

Permalink
align modes
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed Jan 24, 2024
1 parent cbe7639 commit 1619ffa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions coq-builtin.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -1223,9 +1223,9 @@ coq.CS.canonical-projections I L :-

% Hint Mode
kind hint-mode type.
type mode-ground hint-mode. % No Evar
type mode-input hint-mode. % No Head Evar
type mode-output hint-mode. % Anything
type mode-ground hint-mode. % No Evar (+)
type mode-input hint-mode. % No Head Evar (!)
type mode-output hint-mode. % Anything (-)

% [coq.hints.add-mode GR DB Mode] Adds a mode declaration to DB about
% GR.
Expand Down
6 changes: 3 additions & 3 deletions src/coq_elpi_builtins.ml
Original file line number Diff line number Diff line change
Expand Up @@ -992,13 +992,13 @@ let mode = let open API.AlgebraicData in let open Hints in declare {
doc = "Hint Mode";
pp = (fun fmt (x : hint_mode) -> Pp.pp_with fmt (pp_hint_mode x));
constructors = [
K ("mode-ground", "No Evar",N,
K ("mode-ground", "No Evar (+)",N,
B ModeInput,
M (fun ~ok ~ko -> function ModeInput -> ok | _ -> ko ()));
K("mode-input","No Head Evar",N,
K("mode-input ","No Head Evar (!)",N,
B ModeNoHeadEvar,
M (fun ~ok ~ko -> function ModeNoHeadEvar -> ok | _ -> ko ()));
K("mode-output","Anything",N,
K("mode-output","Anything (-)",N,
B ModeOutput,
M (fun ~ok ~ko -> function ModeOutput -> ok | _ -> ko ()));
]
Expand Down

0 comments on commit 1619ffa

Please sign in to comment.