| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Types
Documentation
Constructors
| Definition | |
| OpenQuestion | |
Fields
| |
| MultipleChoice | |
Fields
| |
| MultipleAnswer | |
| Reorder | |
openCommand :: String Source #
whenJust :: Applicative m => Maybe a -> (a -> m ()) -> m () Source #
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 # | |
listMultipleChoice :: CorrectOption -> [IncorrectOption] -> [String] Source #
showMultipleChoice :: CorrectOption -> [IncorrectOption] -> String Source #
cardsToString :: [Card] -> String Source #
nGapsInSentence :: Sentence -> Int Source #
foldSentenceIndex :: (String -> Int -> a) -> (String -> NonEmpty String -> a -> Int -> a) -> Sentence -> a Source #
nGapsInPerforated :: Perforated -> Int Source #
isOptionCorrect :: Option -> Bool Source #