> 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}