type IO::File;
type phi FileState = Open | Closed;
let phi(left: FileState::Open, right: FileState::Open): FileState::Open;
let phi(left: FileState::Closed, right: FileState::Closed): FileState::Closed;
Minimal type wrapper around C fopen
function to check for resource leaks.
Minimal type wrapper around C fclose
function to check for resource leaks.