Source file box.ml

1
2
3
4
type 'a t = { mutable body : 'a option }

let fill box body = box.body <- Some body
let clear box = box.body <- None