Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Definition String String | |
OpenQuestion String Perforated | |
MultipleChoice | |
MultipleAnswer | MultipleAnswer String (NE.NonEmpty Answer) |
|
data CorrectOption Source #
Instances
Show CorrectOption Source # | |
Defined in Types showsPrec :: Int -> CorrectOption -> ShowS # show :: CorrectOption -> String # showList :: [CorrectOption] -> ShowS # |
newtype IncorrectOption Source #
Instances
Show IncorrectOption Source # | |
Defined in Types showsPrec :: Int -> IncorrectOption -> ShowS # show :: IncorrectOption -> String # showList :: [IncorrectOption] -> ShowS # |
data Perforated Source #
Instances
Show Perforated Source # | |
Defined in Types showsPrec :: Int -> Perforated -> ShowS # show :: Perforated -> String # showList :: [Perforated] -> ShowS # |
nGapsInSentence :: Sentence -> Int Source #
foldSentenceIndex :: (String -> Int -> a) -> (String -> NonEmpty String -> a -> Int -> a) -> Sentence -> a Source #
nGapsInPerforated :: Perforated -> Int Source #