Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- generateModal :: AppState -> ModalType -> Modal
- drawType :: Polytype -> Widget Name
- descriptionTitle :: Entity -> String
- maxModalWindowWidth :: Int
- curMenuName :: AppState -> Maybe Text
- quitMsg :: Menu -> Text
- displayParagraphs :: [Text] -> Widget Name
- withEllipsis :: Text -> Widget Name
- maybeScroll :: (Ord n, Show n) => n -> Widget n -> Widget n
Documentation
generateModal :: AppState -> ModalType -> Modal Source #
Generate a fresh modal window of the requested type.
drawType :: Polytype -> Widget Name Source #
Render the type of the current REPL input to be shown to the user.
descriptionTitle :: Entity -> String Source #
maxModalWindowWidth :: Int Source #
Width cap for modal and error message windows