X-Git-Url: https://git.njae.me.uk/?p=advent-of-code-19.git;a=blobdiff_plain;f=advent12%2Fsrc%2Fadvent12.hs;h=ac61359be7a29617c50f1377839d67a5c267553a;hp=043e8d096ce7378bff43d3c66d23a4ff1682e835;hb=dd188fd71f76bb33ace34b0886fa32a7145f6b2e;hpb=03695636b2be7faa5d3f16912eb4aefab2418ec3 diff --git a/advent12/src/advent12.hs b/advent12/src/advent12.hs index 043e8d0..ac61359 100644 --- a/advent12/src/advent12.hs +++ b/advent12/src/advent12.hs @@ -12,7 +12,7 @@ import Linear (V3(..), V1(..), (^+^), (^-^)) import qualified Data.Vector as V -class (Ord a) => NVec a where +class (Eq a) => NVec a where (^+^^) :: a -> a -> a (^-^^) :: a -> a -> a nvZero :: a