-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | The parser for fluffy to parsec the question bank in .docx type -- -- The parser for fluffy to parsec the question bank in .docx type @package fluffy-parser @version 0.1.0.50 module Fluffy.Parser data TrueOrFalse TrueOrFalse :: String -> Bool -> Maybe String -> Maybe String -> Maybe Int -> Maybe String -> Maybe String -> Maybe String -> [String] -> TrueOrFalse [tofBody] :: TrueOrFalse -> String [tofAnswer] :: TrueOrFalse -> Bool [tofRationale] :: TrueOrFalse -> Maybe String [tofDifficulty] :: TrueOrFalse -> Maybe String [tofReference] :: TrueOrFalse -> Maybe Int [tofLearningObjectives] :: TrueOrFalse -> Maybe String [tofNationalStandards] :: TrueOrFalse -> Maybe String [tofTopics] :: TrueOrFalse -> Maybe String [tofKeyWords] :: TrueOrFalse -> [String] data GapFilling GapFilling :: String -> String -> Maybe String -> Maybe Int -> Maybe String -> Maybe String -> Maybe String -> [String] -> GapFilling [gfBody] :: GapFilling -> String [gfAnswer] :: GapFilling -> String [gfDifficulty] :: GapFilling -> Maybe String [gfReference] :: GapFilling -> Maybe Int [gfLearningObjectives] :: GapFilling -> Maybe String [gfNationalStandards] :: GapFilling -> Maybe String [gfTopics] :: GapFilling -> Maybe String [gfKeyWords] :: GapFilling -> [String] data MultipleChoice MultipleChoice :: String -> Int -> [String] -> MultipleChoice [mcBody] :: MultipleChoice -> String [mcAnswer] :: MultipleChoice -> Int [mcChoices] :: MultipleChoice -> [String] replace160 :: String -> String loadFileWithDocx :: FilePath -> IO (Either PandocError Pandoc) renderText :: [Inline] -> String fetchTOFInfo :: Block -> TrueOrFalse -> TrueOrFalse fetchTOFBody :: Block -> TrueOrFalse -> TrueOrFalse fetchGFInfo :: Block -> GapFilling -> GapFilling fetchGFBody :: Block -> GapFilling -> GapFilling parserTOFSet' :: Stream s m Char => ParsecT s u m ([String] -> TrueOrFalse -> TrueOrFalse) parseTOFSet :: [[Block]] -> (TrueOrFalse -> TrueOrFalse) parserGFSet' :: Stream s m Char => ParsecT s u m ([String] -> GapFilling -> GapFilling) fromPlain :: Block -> [Inline] parseGFSet :: [[Block]] -> (GapFilling -> GapFilling) parserReference' :: Stream s m Char => ParsecT s u m Int parseReference :: String -> Maybe Int parserBody' :: Stream s m Char => ParsecT s u m (Int, String) parseBody :: String -> Either ParseError (Int, String) toTOF :: Block -> TrueOrFalse toGF :: Block -> GapFilling updateTOF :: Connection -> TrueOrFalse -> IO () updateGF :: Connection -> GapFilling -> IO () data MultipleChoiceContext MCCQuestBody :: String -> MultipleChoiceContext MCCQuestHead :: String -> MultipleChoiceContext MCCQuestItem :: Int -> String -> MultipleChoiceContext MCCNull :: MultipleChoiceContext parserMCQuestBody :: Stream s m Char => ParsecT s u m (Int, String) parserMCQuestHead :: Stream s m Char => ParsecT s u m [MultipleChoiceContext] parserMCQuestRest :: Stream s m Char => ParsecT s u m [MultipleChoiceContext] parserMCQuestItem :: Stream s m Char => ParsecT s u m [MultipleChoiceContext] parserMC :: Stream s m Char => ParsecT s uP m [MultipleChoiceContext] parseMCBody :: [(Int, String)] -> String -> MultipleChoiceProb parseMCfBlock :: Block -> [MultipleChoiceContext] data MultipleChoiceProb MultipleChoiceProb :: String -> Int -> [(Int, String)] -> MultipleChoiceProb [mcbBody] :: MultipleChoiceProb -> String [mcbAns] :: MultipleChoiceProb -> Int [mcbChos] :: MultipleChoiceProb -> [(Int, String)] data MCCInter MCCInterNull :: MCCInter MCCInterItem :: String -> [(Int, String)] -> MCCInter toMCPfMCCStep :: MCCInter -> [MultipleChoiceContext] -> [MultipleChoiceProb] toMCPfMCC :: [MultipleChoiceContext] -> [MultipleChoiceProb] toMCfMCP :: MultipleChoiceProb -> MultipleChoice updateMC :: Connection -> MultipleChoice -> IO () instance GHC.Classes.Eq Fluffy.Parser.MCCInter instance GHC.Show.Show Fluffy.Parser.MCCInter instance GHC.Classes.Eq Fluffy.Parser.MultipleChoiceProb instance GHC.Show.Show Fluffy.Parser.MultipleChoiceProb instance GHC.Classes.Eq Fluffy.Parser.MultipleChoiceContext instance GHC.Show.Show Fluffy.Parser.MultipleChoiceContext instance GHC.Classes.Eq Fluffy.Parser.MultipleChoice instance GHC.Show.Show Fluffy.Parser.MultipleChoice instance GHC.Classes.Eq Fluffy.Parser.GapFilling instance GHC.Show.Show Fluffy.Parser.GapFilling instance GHC.Classes.Eq Fluffy.Parser.TrueOrFalse instance GHC.Show.Show Fluffy.Parser.TrueOrFalse instance Database.PostgreSQL.Simple.ToField.ToField Fluffy.Parser.TrueOrFalse instance Database.PostgreSQL.Simple.ToField.ToField Fluffy.Parser.GapFilling instance Database.PostgreSQL.Simple.ToField.ToField Fluffy.Parser.MultipleChoice