{-# OPTIONS_GHC -Wno-orphans #-} module IsomorphismClass.Relations.IntAndWord where import IsomorphismClass.Classes import IsomorphismClass.Prelude instance IsSome Int Word where to :: Word -> Int to = Word -> Int forall a b. (Integral a, Num b) => a -> b fromIntegral instance IsSome Word Int where to :: Int -> Word to = Int -> Word forall a b. (Integral a, Num b) => a -> b fromIntegral instance Is Int Word instance Is Word Int