packages feed

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

{-# OPTIONS_GHC -Wno-orphans #-}

module IsomorphismClass.Relations.LazyTextAndText where

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

instance IsomorphicTo Data.Text.Lazy.Text Text where
  to = Data.Text.Lazy.fromStrict

instance IsomorphicTo Text Data.Text.Lazy.Text where
  to = Data.Text.Lazy.toStrict