Skip to content

user:this, user:that ? hooks? #2606

Answered by triska
jjtolton asked this question in Q&A
Oct 5, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Term and goal expansions defined in the user module are meant to pertain to all future clauses that are compiled. A library such as library(clpz) defines such expansions in user: for them to affect also programs that load the library, whereas module-local expansions and also verify_attributes/3, attribute_goals//1 etc. are confined to the module in which they are defined.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jjtolton
Comment options

@triska
Comment options

@bakaq
Comment options

Answer selected by jjtolton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants