> fun h () = print "hello world\n" > val () = MLton.Signal.setHandler (Posix.Signal.cont, > MLton.Signal.Handler.simple h) Excellent, thanks! I suspected something like this would work, but the MLtonSignal page doesn't say MLton.Signal.t = Posix.Signal.signal. Thanks, Dave