Skip to content

Commit

Permalink
Switch to Bonsai (#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus- authored Oct 2, 2024
2 parents a255b69 + 503e235 commit 31e0359
Show file tree
Hide file tree
Showing 12 changed files with 195 additions and 157 deletions.
5 changes: 2 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@
reason
ppx_yojson_conv_lib
ppx_yojson_conv
incr_dom
(omd (>= 2.0.0~alpha4))
ezjs_idb
virtual_dom
bonsai
ppx_deriving
ptmap
uuidm
(uuidm (= 0.9.8)) ; 0.9.9 has breaking deprecated changes
unionFind
ocamlformat
(junit_alcotest :with-test)
Expand Down
5 changes: 2 additions & 3 deletions hazel.opam

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 78 additions & 28 deletions hazel.opam.locked

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/haz3lweb/Keyboard.re
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ let shortcuts = (sys: Key.sys): list(shortcut) =>
]
@ (if (ExerciseSettings.show_instructor) {instructor_shortcuts} else {[]});

let handle_key_event = (k: Key.t): option(Update.t) => {
let handle_key_event = (k: Key.t): option(UpdateAction.t) => {
let now = (a: Action.t): option(UpdateAction.t) =>
Some(PerformAction(a));
switch (k) {
Expand Down
3 changes: 2 additions & 1 deletion src/haz3lweb/Log.re
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let is_action_logged: UpdateAction.t => bool =
| FinishImportAll(_)
| FinishImportScratchpad(_)
| Benchmark(_)
| DebugConsole(_) => false
| DebugConsole(_)
| Startup => false
| Reset
| TAB
| Set(_)
Expand Down
Loading

0 comments on commit 31e0359

Please sign in to comment.