summaryrefslogtreecommitdiff
path: root/lib/model/content.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-21 12:22:50 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-21 12:22:50 +0100
commitbc78bea63b7c75e8a9d222dc86fb75ed293a2242 (patch)
tree6c864df4d57200c20c7f712ada20a6111ca31538 /lib/model/content.ml
parent9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da (diff)
Renamed the module Typ into Types
Diffstat (limited to 'lib/model/content.ml')
-rw-r--r--lib/model/content.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/model/content.ml b/lib/model/content.ml
index 7b9d9a4..a5e5c10 100644
--- a/lib/model/content.ml
+++ b/lib/model/content.ml
@@ -32,7 +32,8 @@ let fields : 'a t -> 'a Field.t Seq.t =
let find_target : 'a t -> string -> 'a option =
fun t name ->
let feature_opt =
- Seq.find (fun f -> String.equal (Identifier.to_string (Field.name f)) name)
+ Seq.find
+ (fun f -> String.equal (Identifier.to_string (Field.name f)) name)
(fields t)
in
@@ -40,5 +41,5 @@ let find_target : 'a t -> string -> 'a option =
let* feature : 'a Field.t = feature_opt in
let (T feature_type) = Field.type_ feature in
match feature_type with
- | MonoReference t | MultiReference t -> Some t.Typ.t
+ | MonoReference t | MultiReference t -> Some t.Types.t
| Integer | Text -> None