daig / daig/keycode

Provide browser-specific mapping

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Haskell
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently some patterns are partial because different browsers have different mappings. We'd like to include a way to choose a browser.

- The simplest way is to put browser specific mappings in separate modules
- This could be improved by interfacing with backpack
- A better way is to make the patterns members of a phantom class `HasKeyCodes browser`. The disadvantage is always needing to feed in the browser type in the type declaration. We could include the phantom type in the `KeyCode` constructor to choose the instance more easily

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.