Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit dcf7d40

Browse files
committed
Bidirectional.
1 parent 42ab0be commit dcf7d40

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • semantic-analysis/src/Analysis/Syntax

semantic-analysis/src/Analysis/Syntax/Python.hs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,25 +88,25 @@ data Python (arity :: T.Nat) where
8888
infixl 1 :>>>
8989

9090
pattern Noop'' :: T.Term Python v
91-
pattern Noop'' <- Noop' T.:$: T.Nil
91+
pattern Noop'' = Noop' T.:$: T.Nil
9292

9393
pattern Iff'' :: T.Term Python v -> T.Term Python v -> T.Term Python v -> T.Term Python v
94-
pattern Iff'' c t e <- Iff' T.:$: T.Cons c (T.Cons t (T.Cons e T.Nil))
94+
pattern Iff'' c t e = Iff' T.:$: T.Cons c (T.Cons t (T.Cons e T.Nil))
9595

9696
pattern Bool'' :: Bool -> T.Term Python v
97-
pattern Bool'' b <- Bool' b T.:$: T.Nil
97+
pattern Bool'' b = Bool' b T.:$: T.Nil
9898

9999
pattern String'' :: Text -> T.Term Python v
100-
pattern String'' t <- String' t T.:$: T.Nil
100+
pattern String'' t = String' t T.:$: T.Nil
101101

102102
pattern Throw'' :: T.Term Python v -> T.Term Python v
103-
pattern Throw'' e <- Throw' T.:$: T.Cons e T.Nil
103+
pattern Throw'' e = Throw' T.:$: T.Cons e T.Nil
104104

105105
pattern Import'' :: NonEmpty Text -> T.Term Python v
106-
pattern Import'' i <- Import' i T.:$: T.Nil
106+
pattern Import'' i = Import' i T.:$: T.Nil
107107

108108
pattern Function'' :: Name -> [Name] -> T.Term Python v -> T.Term Python v
109-
pattern Function'' n as b <- Function' n as T.:$: T.Cons b T.Nil
109+
pattern Function'' n as b = Function' n as T.:$: T.Cons b T.Nil
110110

111111

112112
-- Abstract interpretation

0 commit comments

Comments
 (0)