{-# OPTIONS_GHC -Wno-orphans #-} module LawfulConversions.Relations.LazyTextAndUtcTime where import qualified Data.Text.Lazy import Data.Time import LawfulConversions.Algebra import LawfulConversions.Prelude import LawfulConversions.Relations.LazyTextAndString () import LawfulConversions.Relations.StringAndUtcTime () -- | Implements ISO-8601. instance IsSome Data.Text.Lazy.Text UTCTime where to = fromString . to maybeFrom = maybeFrom @String . to