packages feed

isomorphism-class-0.3: library/IsomorphismClass/Relations/Int32AndWord32.hs

{-# OPTIONS_GHC -Wno-orphans #-}

module IsomorphismClass.Relations.Int32AndWord32 where

import IsomorphismClass.Classes
import IsomorphismClass.Prelude

instance IsomorphicTo Int32 Word32 where
  to = fromIntegral

instance IsomorphicTo Word32 Int32 where
  to = fromIntegral