blob: dc8f3206f10e742b9fd203ae7b350f081f3904de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
type t
(* TODO: For now the description is completely detached from actual
types and domains. Later figure out a way to represent the links
without strings. *)
type multigroup_description = string BatMap.String.t
type relation_description = string BatMap.String.t
type tuple_description = {relation: relation_description; attributes: string BatMap.String.t}
type description =
| Multigroup of multigroup_description
| Relation of relation_description
| Tuple of tuple_description
class type implementation = object
method describe : unit -> (description, Concepts.Condition.condition) result
end
val make : #implementation -> Handle.protocol
val from : Handle.t -> t Handle.interface option
val describe : t Handle.interface -> (description, Concepts.Condition.condition) result
|