Skip to content

Commit

Permalink
missed GateSwitch cases
Browse files Browse the repository at this point in the history
  • Loading branch information
sfultong committed Mar 14, 2024
1 parent 67abaea commit 0563d1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Telomare/Possible.hs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ superStep mergeSuper step handleOther = \case
BasicFW (RightSF (SuperEE (EitherPF a b))) -> mergeSuper (step . embedB . RightSF $ a) (step . embedB . RightSF $ b)
BasicFW (SetEnvSF (SuperEE (EitherPF a b))) -> mergeSuper (step . embedB . SetEnvSF $ a) (step . embedB . SetEnvSF $ b)
(GateSwitch l r (SuperEE AnyPF)) -> mergeSuper l r
(GateSwitch l r (SuperEE (EitherPF (BasicEE ZeroSF) _))) -> mergeSuper l r
(GateSwitch l r (SuperEE (EitherPF _ (BasicEE ZeroSF)))) -> mergeSuper l r
(GateSwitch l r (SuperEE (EitherPF a b))) -> superEE (EitherPF l r)
(FillFunction (SuperEE (EitherPF sca scb)) e) -> mergeSuper
(step . embedB . SetEnvSF . basicEE $ PairSF sca e)
(step . embedB . SetEnvSF . basicEE $ PairSF scb e)
Expand Down

0 comments on commit 0563d1f

Please sign in to comment.