Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- open :: Path -> File | Error
- Theorem open_opens : forall f p, open p == value f, Opened f.
- read :: forall file, Opened file -> String -> Opened file * string
- close :: forall file, Opened file -> File
- Theorem close_closes : forall f, Closed (close f).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement