chore: adopt <||> to reduce code duplication (#9719)
This commit is contained in:
parent
f236328bc3
commit
713a46cd75
1 changed files with 1 additions and 3 deletions
|
|
@ -173,9 +173,7 @@ where
|
|||
| _ => return anyExpr
|
||||
let mut result := fNew
|
||||
for arg in args do
|
||||
if (← isProp arg) then
|
||||
result := mkApp result erasedExpr
|
||||
else if (← isPropFormer arg) then
|
||||
if ← isProp arg <||> isPropFormer arg then
|
||||
result := mkApp result erasedExpr
|
||||
else if (← isTypeFormer arg) then
|
||||
result := mkApp result (← toLCNFType arg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue