Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data WriteError Source #
Instances
Generic WriteError Source # | |
Defined in Hix.OutputWriter type Rep WriteError :: Type -> Type # from :: WriteError -> Rep WriteError x # to :: Rep WriteError x -> WriteError # | |
Show WriteError Source # | |
Defined in Hix.OutputWriter showsPrec :: Int -> WriteError -> ShowS # show :: WriteError -> String # showList :: [WriteError] -> ShowS # | |
Eq WriteError Source # | |
Defined in Hix.OutputWriter (==) :: WriteError -> WriteError -> Bool # (/=) :: WriteError -> WriteError -> Bool # | |
type Rep WriteError Source # | |
Defined in Hix.OutputWriter type Rep WriteError = D1 ('MetaData "WriteError" "Hix.OutputWriter" "hix-0.7.0-1RsI1H0rYs1Kacz9sjlUfZ" 'False) (C1 ('MetaCons "WriteError" 'PrefixI 'True) (S1 ('MetaSel ('Just "msg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "file") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Path Abs File)))) |
data OutputWriter Source #
OutputWriter | |
|
fileWriter :: (WriteError -> M ()) -> Path Abs File -> OutputWriter Source #
writeError :: WriteError -> M () Source #
outputWriterM :: M OutputWriter -> OutputTarget -> M OutputWriter Source #
outputWriter :: OutputWriter -> OutputTarget -> OutputWriter Source #