Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data UIContext = UIContext {}
- errorMsg :: ErrorCause -> Text
- extractGuess :: ErrorCause -> Maybe (Text, Text)
- updateNewLyrics :: UIContext -> (TrackInfo, Lyrics) -> IO ()
- dischargeOnUI :: UIContext -> Consumer SearchResult IO a
- dischargeOnUISingle :: UIContext -> Consumer SearchResult IO ()
- updateErrorCause :: UIContext -> ErrorCause -> IO ()
- updateSuplementalGuess :: UIContext -> (Text, Text) -> IO ()
Documentation
errorMsg :: ErrorCause -> Text Source #
extractGuess :: ErrorCause -> Maybe (Text, Text) Source #
updateNewLyrics :: UIContext -> (TrackInfo, Lyrics) -> IO () Source #
Only usable inside a gtk context
dischargeOnUI :: UIContext -> Consumer SearchResult IO a Source #
dischargeOnUISingle :: UIContext -> Consumer SearchResult IO () Source #
updateErrorCause :: UIContext -> ErrorCause -> IO () Source #