feat (exm): sincos example
This commit is contained in:
parent
9a0d22e880
commit
d398989ece
6 changed files with 87 additions and 58 deletions
|
|
@ -1,7 +1,4 @@
|
|||
|
||||
let debug = ref false
|
||||
|
||||
let fmt () = if !debug then Format.std_formatter
|
||||
else Format.make_formatter (fun _ _ _ -> ()) (fun () -> ())
|
||||
|
||||
let print = Format.fprintf (fmt ()) "%s"
|
||||
let print s = if !debug then Format.printf "%s\n" s else ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue