Advertisement
tinyevil

Untitled

Feb 19th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. open :: Path -> File | Error
  2.  
  3. Theorem open_opens : forall f p, open p == value f, Opened f.
  4.  
  5. read :: forall file, Opened file -> String -> Opened file * string
  6.  
  7. close :: forall file, Opened file -> File
  8.  
  9. Theorem close_closes : forall f, Closed (close f).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement