| 1 |
module U = Encodings.Utf8
|
| 2 |
|
| 3 |
module Id = Pool.Weak(U)
|
| 4 |
type id = Id.t
|
| 5 |
let ident = Id.mk
|
| 6 |
let to_string id = U.to_string (Id.value id)
|
| 7 |
let print ppf id = Format.fprintf ppf "%s" (to_string id)
|
| 8 |
|
| 9 |
module IdSet = SortedList.Make(Id)
|
| 10 |
module IdMap = IdSet.Map
|
| 11 |
module Env = Map.Make(Id)
|
| 12 |
type 'a id_map = 'a IdMap.map
|
| 13 |
type fv = IdSet.t
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
module Label = Ns.QName
|
| 18 |
|
| 19 |
module LabelPool = Pool.Make(Label)
|
| 20 |
module LabelSet = SortedList.Make(LabelPool)
|
| 21 |
module LabelMap = LabelSet.Map
|
| 22 |
|
| 23 |
type label = LabelPool.t
|
| 24 |
type 'a label_map = 'a LabelMap.map
|