Skip to content

Commit

Permalink
Warning cleanup: Mark TupleF2-4 patterns as COMPLETE
Browse files Browse the repository at this point in the history
  • Loading branch information
danmatichuk committed Feb 26, 2024
1 parent 1b1760d commit c463144
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Pate/Verification/PairGraph.hs
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,19 @@ type instance TupleF '(a,b,c,d) = PairF a (PairF b (PairF c d))
pattern TupleF2 :: a k -> b k -> TupleF '(a,b) k
pattern TupleF2 a b = PairF a b

{-# COMPLETE TupleF2 #-}

pattern TupleF3 :: a k -> b k -> c k -> TupleF '(a,b,c) k
pattern TupleF3 a b c = PairF a (PairF b c)

{-# COMPLETE TupleF3 #-}

pattern TupleF4 :: a k -> b k -> c k -> d k -> TupleF '(a,b,c,d) k
pattern TupleF4 a b c d = PairF a (PairF b (PairF c d))

{-# COMPLETE TupleF4 #-}


data PendingAction sym arch (f :: PS.VarScope -> Type) =
PendingAction { pactIdent :: Int, _pactAction :: LazyIOAction (EquivEnv sym arch, Some f, PairGraph sym arch) (PairGraph sym arch)}

Expand Down

0 comments on commit c463144

Please sign in to comment.