Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PS = PS {}
- data Parameters = Parameters {}
- data FBS = FBS {
- _fb :: FileBrowser Name
- _exception' :: Maybe String
- _parsedCards :: [Card]
- _filePath :: Maybe FilePath
- _showHidden :: Bool
- data CSS = CSS {}
- type SS = Form Settings Event Name
- data Settings = FormState {
- _hints :: Bool
- _controls :: Bool
- _caseSensitive :: Bool
- _shuffleAnswers :: Bool
- _escapeCode :: Bool
- _maxRecents :: Int
- type IS = ()
- newtype MMS = MMS {}
- data PopupState
- = CorrectPopup { }
- | FinalPopup
- | DeckMakerPopup { }
- data Popup s d = Popup {
- drawPopup :: d -> Widget Name
- handlePopupEvent :: Event -> EventM Name s ()
- _popupState :: PopupState
- data CS = CS {
- _originalCards :: [Card]
- _shownCards :: [Card]
- _indexMapping :: [Int]
- _index :: Int
- _nCards :: Int
- _currentCard :: Card
- _cardState :: CardState
- _showHints :: Bool
- _showControls :: Bool
- _isCaseSensitive :: Bool
- _reviewMode :: Bool
- _correctCards :: [Int]
- _popup :: Maybe (Popup GlobalState CS)
- _pathToFile :: FilePath
- data CardState
- = DefinitionState { }
- | MultipleChoiceState { }
- | MultipleAnswerState { }
- | OpenQuestionState { }
- | ReorderState { }
- data GlobalState = GlobalState {}
- data Chunk = Chunk Int Int
- data State
- data Mode
- type Event = ()
- data Name
- = HintsField
- | ControlsField
- | CaseSensitiveField
- | ShuffleAnswersField
- | EscapeCodeField
- | MaxRecentsField
- | ChunkField1
- | ChunkField2
- | SubsetField
- | ShuffleField
- | ReviewModeField
- | ParametersOkField
- | Ordinary
- | MainMenuList
- | InfoViewport
- | SettingsViewport
- | CardViewport Int
- | RecentsList
- | FileBrowserList
- | SBClick ClickableScrollbarElement Name
- defaultCardState :: Card -> CardState
- defaultParameters :: Parameters
- l :: Lens' MMS (List Name String)
- mwc :: Lens' GlobalState GenIO
- parameters :: Lens' GlobalState Parameters
- stack :: Lens' GlobalState (Stack Mode)
- states :: Lens' GlobalState (Map Mode State)
- correctGaps :: Traversal' CardState (Map Int Bool)
- entered :: Traversal' CardState Bool
- failed :: Traversal' CardState Bool
- flipped :: Traversal' CardState Bool
- gapInput :: Traversal' CardState (Map Int String)
- grabbed :: Traversal' CardState Bool
- highlighted :: Traversal' CardState Int
- number :: Traversal' CardState Int
- order :: Traversal' CardState (Map Int (Int, String))
- selected :: Traversal' CardState (Map Int Bool)
- tried :: Traversal' CardState (Map Int Bool)
- cardState :: Lens' CS CardState
- correctCards :: Lens' CS [Int]
- currentCard :: Lens' CS Card
- index :: Lens' CS Int
- indexMapping :: Lens' CS [Int]
- isCaseSensitive :: Lens' CS Bool
- nCards :: Lens' CS Int
- originalCards :: Lens' CS [Card]
- pathToFile :: Lens' CS FilePath
- popup :: Lens' CS (Maybe (Popup GlobalState CS))
- reviewMode :: Lens' CS Bool
- showControls :: Lens' CS Bool
- showHints :: Lens' CS Bool
- shownCards :: Lens' CS [Card]
- caseSensitive :: Lens' Settings Bool
- controls :: Lens' Settings Bool
- escapeCode :: Lens' Settings Bool
- hints :: Lens' Settings Bool
- maxRecents :: Lens' Settings Int
- shuffleAnswers :: Lens' Settings Bool
- exception :: Lens' CSS (Maybe String)
- list :: Lens' CSS (List Name String)
- maxRecentsToShow :: Lens' CSS Int
- recents :: Lens' CSS (Stack FilePath)
- exception' :: Lens' FBS (Maybe String)
- fb :: Lens' FBS (FileBrowser Name)
- filePath :: Lens' FBS (Maybe FilePath)
- parsedCards :: Lens' FBS [Card]
- showHidden :: Lens' FBS Bool
- psCards :: Lens' PS [Card]
- psForm :: Lens' PS (Form Parameters Event Name)
- psFp :: Lens' PS FilePath
- pChunk :: Lens' Parameters Chunk
- pOk :: Lens' Parameters Bool
- pReviewMode :: Lens' Parameters Bool
- pShuffle :: Lens' Parameters Bool
- pSubset :: Lens' Parameters (Maybe Int)
- popupState :: forall s d. Lens' (Popup s d) PopupState
- makeDeckCorrect :: Traversal' PopupState Bool
- makeDeckIncorrect :: Traversal' PopupState Bool
- popupSelected :: Traversal' PopupState Int
- type GenIO = Gen (PrimState IO)
Documentation
data Parameters Source #
FBS | |
|
FormState | |
|
data PopupState Source #
Instances
Eq PopupState Source # | |
Defined in States (==) :: PopupState -> PopupState -> Bool # (/=) :: PopupState -> PopupState -> Bool # |
Popup | |
|
CS | |
|
Instances
defaultCardState :: Card -> CardState Source #
correctGaps :: Traversal' CardState (Map Int Bool) Source #
popupState :: forall s d. Lens' (Popup s d) PopupState Source #