Skip to content

Commit

Permalink
Correct mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthad committed Jun 18, 2024
1 parent b14a970 commit d4385b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arithmetic/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ instance Ord (Fin n) where
pattern EitherFinLeft# :: Fin# m -> EitherFin# m n
pattern EitherFinLeft# f <- (eitherFinToSum# -> (# f | #))
where
EitherFinLeft# (Fin# i) = EitherFin# (1# -# i)
EitherFinLeft# (Fin# i) = EitherFin# ((-1#) -# i)

pattern EitherFinRight# :: Fin# n -> EitherFin# m n
pattern EitherFinRight# f <- (eitherFinToSum# -> (# | f #))
Expand Down

0 comments on commit d4385b4

Please sign in to comment.