Skip to content

Commit

Permalink
Don't use tree empty to avoid extra folds
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Jan 23, 2024
1 parent 639c5a1 commit e959f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minidebug_runtime.ml
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ module PrintBox (Log_to : Debug_ch) = struct
(hl, B.tree b bs)
| List l ->
let hls, bs = List.split @@ List.map loop l in
(List.exists (fun x -> x) hls, B.tree B.empty bs)
(List.exists (fun x -> x) hls, B.vlist ~bars:false bs)
in
match sexp with
| Atom s | List [ Atom s ] ->
Expand Down

0 comments on commit e959f37

Please sign in to comment.