Skip to content
koo5 edited this page Aug 18, 2019 · 2 revisions

Welcome to the rdet wiki!

how to get useful behavior out of rdet:

version 0.0.1 has a serious bug. clone master.

perform the steps written in .travis.yml

run swipl, query pack_install('file:///full/path/to/rdet/repo').

ignore(?):

ERROR: Process "process(path(make),[all])": exit status: 2 ERROR: In: ERROR: [20] throw(error(process_error(...,...),_17836)) ERROR: [18] '$apply':forall(prolog_pack:member(all,...),prolog_pack:run_process(...,...,...)) at /usr/lib/swi-prolog/boot/apply.pl:52 ERROR: [14] prolog_pack:pack_post_install(rdet,'/home/koom/lib/swipl/pack/rdet',[pack(rdet),...|...]) at /usr/lib/swi-prolog/library/prolog_pack.pl:1017 ERROR: [9] <user> ERROR: ERROR: Note: some frames are missing due to last-call optimization. ERROR: Re-run your program in debug mode (:- debug.) to get more detail.

place :- rdet(predicate/arity) declarations before code that invokes the predicate. The call to the declared predicate will be wrapped in the catch. rdet()'ing the calling predicate does not have the effect.

enjoy!

Clone this wiki locally