module Text.Pandoc.Filter.Environment
( Environment (..)
) where
import Data.Default (Default (def))
import Text.Pandoc.Options (ReaderOptions, WriterOptions)
data Environment = Environment
{ Environment -> ReaderOptions
envReaderOptions :: ReaderOptions
, Environment -> WriterOptions
envWriterOptions :: WriterOptions
}
instance Default Environment where
def :: Environment
def = ReaderOptions -> WriterOptions -> Environment
Environment ReaderOptions
forall a. Default a => a
def WriterOptions
forall a. Default a => a
def