daig / daig/keycode

Provide browser-specific mapping

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Haskell
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.