Provide browser-specific mapping
- Langage dominant
- Haskell
- Étoiles
- 0
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by reviewing the existing pattern mappings and the KeyCode constructor, then compare the proposed separate modules, Backpack interface, and phantom class HasKeyCodes browser approaches. Before implementation, establish which browser-selection design is wanted and define done as browser-specific mappings being selectable without leaving partial patterns unresolved.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- haskell
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100