type obj = int * uri * bind * term (* age, uri, binder, contents *)
type item = obj option
+
+type hierarchy = int -> int
+
+(* Currified constructors ***************************************************)
+
+let cast u t = Cast (u, t)
+
+let appl u t = Appl (u, t)
+
+let bind id b u t = Bind (id, b, u, t)