daig / daig/keycode

Provide browser-specific mapping

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Haskell
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。