aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarie <arie@alleycat.cc>2021-06-22 11:13:55 +0200
committerarie <arie@alleycat.cc>2021-06-28 21:04:39 +0200
commit4ba6d6ac2a36c33dc2c2d4f9e0a44551548be5fa (patch)
treef42c000f04c54a7d02712d0b26ed636c0ebfbc90
parent9b771ca73327985f1d88cb2bb5a8402dc89814fc (diff)
Rdf core:
Two little fixes in Predicate and Graph.
-rw-r--r--lib/core/graph.ml1
-rw-r--r--lib/core/triple.ml2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/graph.ml b/lib/core/graph.ml
index 32bf790..e8b6705 100644
--- a/lib/core/graph.ml
+++ b/lib/core/graph.ml
@@ -4,6 +4,7 @@
But not in any other.This can be improved.
*)
+<<<<<<< HEAD
module TermMap = Map.Make(Term)
module TermSet = Set.Make(Term)
diff --git a/lib/core/triple.ml b/lib/core/triple.ml
index 9148c6d..3cb1233 100644
--- a/lib/core/triple.ml
+++ b/lib/core/triple.ml
@@ -40,7 +40,7 @@ module Predicate = struct
Term.map p
f
(fun _ -> raise @@ Invalid_argument "predicate can not be a blank node")
- (fun _ -> raise @@ Invalid_argument "subject can not be a literal")
+ (fun _ -> raise @@ Invalid_argument "predicate can not be a literal")
let to_term p = map p Term.of_iri