amalgame/commit

use functional notation for @null so we can load sources without depending on pce

authorJacco van Ossenbruggen
Thu Sep 7 11:19:23 2017 +0200
committerJacco van Ossenbruggen
Thu Sep 7 11:19:23 2017 +0200
commit96aacff06f4a5f121fc7bf4eab13a701578539a4
tree18aaa99153385d7e6b5babf7f80af4d2b7a0bc35
parentbcf60a01d30bc6c868c695a097cceec0587a7d72
Diff style: patch stat
diff --git a/lib/amalgame/hooks/skos_browser.pl b/lib/amalgame/hooks/skos_browser.pl
index 7943094..79fd328 100644
--- a/lib/amalgame/hooks/skos_browser.pl
+++ b/lib/amalgame/hooks/skos_browser.pl
@@ -27,7 +27,7 @@ mapped_descendant_count(Concept, Graphs, Count, Options) :-
 	findall(C, skos_descendant_of(Concept, C), Descendants0),
 	sort(Descendants0, Descendants),
 	(   Descendants	= []
-	->  Count = @null
+	->  Count = @(null)
 	;   mapped_chk(Descendants, Graphs, Mapped, Options),
 	    length(Descendants, Descendant_Count),
 	    length(Mapped, Mapped_Count),