Safe Haskell | Safe-Infered |
---|
- process :: String -> [ProcessOpt] -> String -> Ptr OutputFormat -> Int -> Either Err String
- newtype OutputFormat = OutputFormat (Ptr OutputFormat)
- outputFormatText :: Ptr OutputFormat
- outputFormatTextCompact :: Ptr OutputFormat
- outputFormatDebug :: Ptr OutputFormat
- outputFormatNull :: Ptr OutputFormat
- outputFormatNME :: Ptr OutputFormat
- outputFormatHTML :: Ptr OutputFormat
- outputFormatRTF :: Ptr OutputFormat
- outputFormatLaTeX :: Ptr OutputFormat
- outputFormatMan :: Ptr OutputFormat
- c_nmeProcess :: CString -> CInt -> CString -> CInt -> CInt -> CString -> Ptr OutputFormat -> CInt -> Ptr CString -> Ptr CInt -> Ptr CInt -> IO Err
- io_process :: String -> [ProcessOpt] -> String -> Ptr OutputFormat -> Int -> IO (Either Err String)
- newtype Err = Err CInt
- kNMEErrOk :: Err
- kNMEErrNotEnoughMemory :: Err
- kNMEErrBadMarkup :: Err
- kNMEErrInternal :: Err
- kNMEErr1stNMEOpt :: Err
- newtype ProcessOpt = ProcessOpt CInt
- kNMEProcessOptDefault :: ProcessOpt
- kNMEErr1stUser :: Err
- kNMEProcessOptNoPreAndPost :: ProcessOpt
- kNMEProcessOptNoH1 :: ProcessOpt
- kNMEProcessOptH1Num :: ProcessOpt
- kNMEProcessOptH2Num :: ProcessOpt
- kNMEProcessOptNoDL :: ProcessOpt
- kNMEProcessOptNoIndentedPar :: ProcessOpt
- kNMEProcessOptNoMultilinePar :: ProcessOpt
- kNMEProcessOptNoEscape :: ProcessOpt
- kNMEProcessOptNoHRule :: ProcessOpt
- kNMEProcessOptNoLink :: ProcessOpt
- kNMEProcessOptNoImage :: ProcessOpt
- kNMEProcessOptNoTable :: ProcessOpt
- kNMEProcessOptNoUnderline :: ProcessOpt
- kNMEProcessOptNoMonospace :: ProcessOpt
- kNMEProcessOptNoSubSuperscript :: ProcessOpt
- kNMEProcessOptNoBold :: ProcessOpt
- kNMEProcessOptNoItalic :: ProcessOpt
- kNMEProcessOptNoPlugin :: ProcessOpt
- kNMEProcessOptVerbatimMono :: ProcessOpt
- kNMEProcessOptXRef :: ProcessOpt
Documentation
process :: String -> [ProcessOpt] -> String -> Ptr OutputFormat -> Int -> Either Err StringSource
Takes a string and options, returns Either an error code or a string in the specified format
newtype OutputFormat Source
c_nmeProcess :: CString -> CInt -> CString -> CInt -> CInt -> CString -> Ptr OutputFormat -> CInt -> Ptr CString -> Ptr CInt -> Ptr CInt -> IO ErrSource
io_process :: String -> [ProcessOpt] -> String -> Ptr OutputFormat -> Int -> IO (Either Err String)Source