stack-3.7.1: src/Stack/Types/InterfaceOpt.hs
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE NoFieldSelectors #-}
{-|
Module : Stack.Types.InterfaceOpt
Description : Type representing Haddock interface options.
License : BSD-3-Clause
Type representing Haddock interface options.
-}
module Stack.Types.InterfaceOpt
( InterfaceOpt (..)
) where
import Data.Time ( UTCTime )
import Stack.Prelude
-- | Type representing Haddock interface options.
data InterfaceOpt = InterfaceOpt
{ readInterfaceArgs :: ![String]
, srcInterfaceFileModTime :: !UTCTime
, srcInterfaceFile :: !(Path Abs File)
, destInterfaceFile :: !(Path Abs File)
}
deriving (Eq, Ord)