Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- ensureKeybindingConsistency :: KeyConfig KeyEvent -> [(Text, [MHKeyEventHandler])] -> Either String ()
Documentation
ensureKeybindingConsistency :: KeyConfig KeyEvent -> [(Text, [MHKeyEventHandler])] -> Either String () Source #
Given a configuration, we want to check it for internal consistency (i.e. that a given keybinding isn't associated with multiple events which both need to get generated in the same UI mode).