Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "hook_hybrid"

Title:Hook assert retract call of *specific* predicates
Rating:Not rated. Create the first rating!
Latest version:1.1.118
SHA1 sum:de25d3f41fa85ac1c97fc464841dba9d34ecdc22
Author:Douglas Miles http://www.linkedin.com/in/logicmoo
Douglas R. Miles <logicmoo@gmail.com>
Maintainer:TeamSPoon https://github.com/TeamSPoon/
Packager:TeamSPoon https://github.com/TeamSPoon/
Home page:https://github.com/TeamSPoon/hook_hybrid.git
Download URL:https://github.com/TeamSPoon/hook_hybrid/release/*.zip
Requires:clause_attvars
each_call_cleanup
file_scope
loop_check
must_trace
subclause_expansion

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.0.7b5bbd485b06449ad11d327c36f88ab57e9a29aed1https://github.com/TeamSPoon/hook_hybrid.git
1.1.1125bd5da1ff605dc90bf8cc604c48627551bb1a6b71https://github.com/TeamSPoon/hook_hybrid.git
1.1.1156b01a04b7ed303be15c4e0897ea16129e83745571https://github.com/TeamSPoon/hook_hybrid.git
1.1.1174bf366b6c259055998fd1a263c939387d7454c011https://github.com/TeamSPoon/hook_hybrid.git
1.1.11822e5152001fbcb36631c94a24edc7f6016575dd41https://github.com/TeamSPoon/hook_hybrid.git
27ca8520a566ef7b981c4f6aee236907b042ab7a1https://github.com/TeamSPoon/hook_hybrid.git
4e0b4506a59ffcb7b224115b3f931cde82fd47081https://github.com/TeamSPoon/hook_hybrid.git
6c5bfa36fe3de5aef73f2cbd8003ce9ce6bf0ba81https://github.com/TeamSPoon/hook_hybrid.git
73754e2783401089459da9f083bd84443ed8f45b1https://github.com/TeamSPoon/hook_hybrid.git
80f93d9aa48e0b68f921d3df1a4d10defb5287931https://github.com/TeamSPoon/hook_hybrid.git
971741b7ac44a5be97698cd180a893e7b86b23521https://github.com/TeamSPoon/hook_hybrid.git
da8b4ecae415903b6915c2c344eb6e114578f86a1https://github.com/TeamSPoon/hook_hybrid.git
de25d3f41fa85ac1c97fc464841dba9d34ecdc223https://github.com/TeamSPoon/hook_hybrid.git

hook_hybrid

Hook and/or override assert, retract, call, clause, erase, etc for specific predicates

Installation

Using SWI-Prolog 7.1 or later:


    ?- pack_install('https://github.com/TeamSPoon/hook_hybrid.git').

Source code available and pull requests accepted at

?- use_module(library(hook_hybrid)).
true.

?-

Some TODOs

Document this pack!

Write tests

Untangle the 'pack' install deps (Moving predicates over here from logicmoo_base)

Not obligated to maintain a git fork just to contribute

Dislike having tons of forks that are several commits behind the main git repo?

Be old school - Please ask to be added to TeamSPoon and Contribute directly !

Still, we wont stop you from doing it the Fork+PullRequest method

BSD 2-Clause License

Copyright (c) 2017, TeamSPoon and Douglas Miles <logicmoo@gmail.com> All rights reserved.

Contents of pack "hook_hybrid"

Pack contains 11 files holding a total of 128K bytes.