feat: correct greedy/lazy and inplace/functional, split into multiple inputs
This commit is contained in:
parent
b037dacccf
commit
5bce9e5b01
12 changed files with 117 additions and 65 deletions
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
let debug = ref false
|
||||
|
||||
let print (s: string) =
|
||||
if !debug then begin Format.printf "%s" s; flush stdout end else ()
|
||||
let fmt () = if !debug then Format.std_formatter
|
||||
else Format.make_formatter (fun _ _ _ -> ()) (fun () -> ())
|
||||
|
||||
let print = Format.fprintf (fmt ()) "%s"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue