Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
utkn committed Dec 27, 2024
1 parent d1a1d1f commit c65feaa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Lampe/Lampe/Syntax.lean
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ syntax "[" nr_type "]" : nr_type -- Slice
syntax "[" nr_type ";" num "]" : nr_type -- Array
syntax "`(" nr_type,* ")" : nr_type -- Tuple

def mkFieldName (structName : String) (fieldName : String) : Lean.Ident :=
mkIdent $ Name.mkSimple $ "field" ++ "#" ++ structName ++ "#" ++ fieldName

def mkStructDefIdent (structName : String) : Lean.Ident :=
mkIdent $ Name.mkSimple $ "struct" ++ "#" ++ structName

def mkFieldName (structName : String) (fieldName : String) : Lean.Ident :=
mkIdent $ Name.mkSimple $ "field" ++ "#" ++ structName ++ "#" ++ fieldName

Expand Down

0 comments on commit c65feaa

Please sign in to comment.