| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Types
Documentation
data GlobalState Source #
Constructors
| GlobalState | |
Constructors
| Definition String String | |
| OpenQuestion String Perforated | |
| MultipleChoice | |
Fields
| |
| MultipleAnswer | |
| Reorder | |
data CorrectOption Source #
Constructors
| CorrectOption Int String |
Instances
| Show CorrectOption Source # | |
Defined in Types Methods showsPrec :: Int -> CorrectOption -> ShowS # show :: CorrectOption -> String # showList :: [CorrectOption] -> ShowS # | |
newtype IncorrectOption Source #
Constructors
| IncorrectOption String |
Instances
| Show IncorrectOption Source # | |
Defined in Types Methods showsPrec :: Int -> IncorrectOption -> ShowS # show :: IncorrectOption -> String # showList :: [IncorrectOption] -> ShowS # | |
data Perforated Source #
Instances
| Show Perforated Source # | |
Defined in Types Methods 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 #