[MLton] Why Can't I see Pid?

Stephen Weeks MLton@mlton.org
Wed, 14 Jul 2004 11:53:00 -0700


> Lots of other structures use it (e.g., posix/io.sml)
> and use the Pid.toInt function and so forth.
> 
> I can't seem to get MLton to recognize the Pid
> structure in my own program. 

because Pid is not exported by the basis

> Is there something special that must be done to make it visible?

You can convert between pids and words using 

	Posix.Process.{pidToWord,wordToPid}