Problog
This commit is contained in:
@@ -244,7 +244,7 @@ logger_define_variable(Name,Type) :-
|
||||
->
|
||||
write('redefining logger variable '),write(Name),write(' of type '), write(Type0), nl
|
||||
;
|
||||
throw(error(variable_redefined(logger_define_variable(Name,Type)))
|
||||
throw(error(variable_redefined(logger_define_variable(Name,Type))))
|
||||
).
|
||||
logger_define_variable(Name,Type) :-
|
||||
ground(Type),
|
||||
|
@@ -263,7 +263,7 @@
|
||||
|
||||
% this is a test to determine whether YAP provides the needed trie library
|
||||
:- initialization(
|
||||
( predicate_property(trie_disable_hash, imported_from(tries)) ->
|
||||
( predicate_property(trie_disable_hash, imported_from(M)) ->
|
||||
trie_disable_hash
|
||||
; print_message(warning,'The predicate tries:trie_disable_hash/0 does not exist. Please update trie library.')
|
||||
)
|
||||
|
Reference in New Issue
Block a user