cactus
cactus copied to clipboard
Functorise vertex header on page header
For now the dependency of the vertex header on the page header is implicit.
Long version : Store.Page.kind relies on the fact that the beginning of the header of any page (node or leaf) follows the same format -- and in particular contains a Kind field. This invariant is implicit, as Store.Page and Vertex_header separately implements a deserialisation protocol, which happens to be mutually consistent.