HCoop
/
hcoop
/
debian
/
mlton.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Import Debian changes 20180207-1
[hcoop/debian/mlton.git]
/
lib
/
cml
/
util
/
local-debug.fun
1
(* local-debug.fun
2
* 2004 Matthew Fluet (mfluet@acm.org)
3
* Ported to MLton threads.
4
*)
5
6
functor LocalDebug(val debug: bool): DEBUG =
7
struct
8
fun make f =
9
if debug then f else fn _ => ()
10
val sayDebug' = make Debug.sayDebug'
11
val sayDebug = make Debug.sayDebug
12
end