Hoogle Search
Within LTS Haskell 24.67 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setMimeTypeTable :: MimeTypeTable -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState set the table mapping of file extensions to mime types in the system state Default table is defined in MimeTypeDefaults. This table is used when reading loacl files, (file: protocol) to determine the mime type
setMimeTypeTableFromFile :: FilePath -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState set the table mapping of file extensions to mime types by an external config file The config file must follow the conventions of etcmime.types on a debian linux system, that means all empty lines and all lines starting with a # are ignored. The other lines must consist of a mime type followed by a possible empty list of extensions. The list of extenstions and mime types overwrites the default list in the system state of the IOStateArrow
setSysAttr :: String -> IOStateArrow s String Stringhxt Text.XML.HXT.Arrow.XmlState store a string in global state under a given attribute name
setSysAttrInt :: String -> Int -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState store an int value in global state
setSysAttrString :: String -> String -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState No documentation available.
setTraceCmd :: (Int -> String -> IO ()) -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState set the global trace command. This command does the trace output
setTraceLevel :: Int -> IOStateArrow s b bhxt Text.XML.HXT.Arrow.XmlState set the global trace level
setUserState :: IOStateArrow s s shxt Text.XML.HXT.Arrow.XmlState set the user defined part of the state
setDocumentStatus :: Int -> String -> IOStateArrow s XmlTree XmlTreehxt Text.XML.HXT.Arrow.XmlState.ErrorHandling add the error level and the module where the error occured to the attributes of a document root node and remove the children when level is greater or equal to c_err. called by setDocumentStatusFromSystemState when the system state indicates an error
setDocumentStatusFromSystemState :: String -> IOStateArrow s XmlTree XmlTreehxt Text.XML.HXT.Arrow.XmlState.ErrorHandling check whether the error level attribute in the system state is set to error, in this case the children of the document root are removed and the module name where the error occured and the error level are added as attributes with setDocumentStatus else nothing is changed