    {-# OPTIONS_GHC -Wno-orphans #-}

    module IsomorphismClass.Relations.ByteStringAndLazyByteString where

    import qualified Data.ByteString.Lazy
    import IsomorphismClass.Classes
    import IsomorphismClass.Prelude

    instance IsomorphicTo ByteString Data.ByteString.Lazy.ByteString where
      to :: ByteString -> ByteString
    to = ByteString -> ByteString
    Data.ByteString.Lazy.toStrict

    instance IsomorphicTo Data.ByteString.Lazy.ByteString ByteString where
      to :: ByteString -> ByteString
    to = ByteString -> ByteString
    Data.ByteString.Lazy.fromStrict