Skip to content

Commit

Permalink
fix array lambda notation
Browse files Browse the repository at this point in the history
  • Loading branch information
lecopivo committed Dec 5, 2023
1 parent 4063def commit 384ddc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SciLean/Data/ArrayType/Notation.lean
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ abbrev introElemNotation {Cont Idx Elem} [ArrayType Cont Idx Elem] [ArrayTypeNot

open Lean.TSyntax.Compat in
macro "⊞ " x:term " => " b:term:51 : term => `(introElemNotation fun $x => $b)
macro "⊞ " x:term " : " X:term " => " b:term:51 : term => `(introElemNotation fun ($x : $X) => $b)

@[app_unexpander introElemNotation]
def unexpandIntroElemNotation : Lean.PrettyPrinter.Unexpander
Expand Down

0 comments on commit 384ddc4

Please sign in to comment.