Skip to content

Commit

Permalink
chore: clean up ws
Browse files Browse the repository at this point in the history
  • Loading branch information
William Sørensen committed Aug 15, 2024
1 parent 82ba66e commit f24ad61
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Qpf/Macro/Data.lean
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,11 @@ def isPolynomial (view : DataView) (F: Term) : CommandElabM (Option Term) := do
-/
def mkType (view : DataView) (base : Term × Term × Term) : CommandElabM Unit := do
trace[QPF] "mkType"
let uncurriedIdent ← addSuffixToDeclIdent view.declId "Uncurried"
let baseIdExt ← addSuffixToDeclIdent view.declId "Base"
let baseIdent ← addSuffixToDeclIdent baseIdExt "Uncurried"
let uncurriedIdent ← addSuffixToDeclIdent view.declId "Uncurried"
let baseIdExt ← addSuffixToDeclIdent view.declId "Base"
let baseIdent ← addSuffixToDeclIdent baseIdExt "Uncurried"
let baseFunctorIdent ← addSuffixToDeclIdent baseIdent "instMvFunctor"
let baseQPFIdent ← addSuffixToDeclIdent baseIdent "instQPF"
let baseQPFIdent ← addSuffixToDeclIdent baseIdent "instQPF"

let deadBinderNamedArgs ← view.deadBinderNames.mapM fun n =>
`(namedArgument| ($n:ident := $n:term))
Expand Down Expand Up @@ -483,5 +483,4 @@ def elabData : CommandElab := fun stx => do
try genRecursors view shape
catch e => trace[QPF] (← e.toMessageData.toString)


end Data.Command

0 comments on commit f24ad61

Please sign in to comment.