Skip to content

Commit

Permalink
fix: f a <| do b => f a do b, not (f a) do b
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Jan 14, 2023
1 parent 839a365 commit 2bfc0cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Mathport/Syntax/Transform/Expr.lean
Expand Up @@ -6,6 +6,9 @@ Authors: Gabriel Ebner
import Mathport.Syntax.Transform.Basic

mathport_rules
| `($x:term $args* <| fun $y:basicFun) => `($x:term $args* fun $y:basicFun)
| `($x:term $args* <| fun $y:matchAlts) => `($x:term $args* fun $y:matchAlts)
| `($x:term $args* <| do $s:doSeq) => `($x:term $args* do $s:doSeq)
| `($x:term <| fun $y:basicFun) => `($x:term fun $y:basicFun)
| `($x:term <| fun $y:matchAlts) => `($x:term fun $y:matchAlts)
| `($x:term <| do $s:doSeq) => `($x:term do $s:doSeq)

0 comments on commit 2bfc0cb

Please sign in to comment.