Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/gallinaGen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let eq_ t1 t2 =
CAst.make (Constrexpr.CNotation
(Some (Constrexpr.LastLonelyNotation),
(Constrexpr.InConstrEntry, "_ = _"),
([ t1; t2 ], [], [], [])))
[NtnTypeArg (NtnTypeArgConstr t1); NtnTypeArg (NtnTypeArgConstr t2) ]))

let lname_ s = CAst.make (Names.Name (name_id_ s))
let name_decl_ s = lname_ s, None
Expand All @@ -54,7 +54,7 @@ let arr_ tys tyend =
CAst.make (Constrexpr.CNotation
(Some (Constrexpr.LastLonelyNotation),
(Constrexpr.InConstrEntry, "_ -> _"),
([ t1; t2 ], [], [], []))))
[NtnTypeArg (NtnTypeArgConstr t1); NtnTypeArg (NtnTypeArgConstr t2) ])))
tys tyend

let arr1_ ty1 ty2 = arr_ [ty1] ty2
Expand Down