\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
+IFDEF TYPE THEN
+
val type_check:
(Bag.message -> 'a) -> (Bag.term -> Bag.entity -> 'a) ->
Layer.status -> Bag.entity -> 'a
+
+END