Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getUseEscapeCode :: IO Bool
- addRecent :: FilePath -> IO ()
- cardSelectorState :: IO State
- mainMenuState :: State
- safeHead :: [a] -> Maybe a
- cardsState :: Bool -> FilePath -> [Card] -> IO State
- cardsWithOptionsState :: GlobalState -> FilePath -> [Card] -> IO State
- infoState :: State
- fileBrowserState :: IO State
- entryFilter :: Bool -> FileInfo -> Bool
- parameterState :: Parameters -> FilePath -> [Card] -> State
- runBrickFlashcards :: GlobalState -> IO ()
- data GlobalState = GlobalState {}
- type GenIO = Gen (PrimState IO)
- data Chunk = Chunk Int Int
- data Card
- data ImportType
- data Parameters = Parameters {}
- goToState :: GlobalState -> State -> GlobalState
- cardsToString :: [Card] -> String
- parseImportInput :: ImportType -> Bool -> String -> Maybe [Card]
- defaultParameters :: Parameters
Documentation
cardsWithOptionsState :: GlobalState -> FilePath -> [Card] -> IO State Source #
parameterState :: Parameters -> FilePath -> [Card] -> State Source #
runBrickFlashcards :: GlobalState -> IO () Source #
data ImportType Source #
Instances
Read ImportType Source # | |
Defined in Import readsPrec :: Int -> ReadS ImportType # readList :: ReadS [ImportType] # readPrec :: ReadPrec ImportType # readListPrec :: ReadPrec [ImportType] # |
data Parameters Source #
goToState :: GlobalState -> State -> GlobalState Source #
cardsToString :: [Card] -> String Source #
parseImportInput :: ImportType -> Bool -> String -> Maybe [Card] Source #