    {-# OPTIONS_GHC -Wno-orphans #-}

    module IsomorphismClass.Relations.LazyByteStringAndLazyByteStringBuilder where

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

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

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