If I understood correctly your question, one of the best answers should be the following.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Term_expansion not applied | 1 | 640 | August 1, 2020 | |
| Term rewriting / expansion...tutorials, other references? | 2 | 407 | April 20, 2020 | |
| Transform *arbitrary terms* in a Prolog program at load | 4 | 650 | March 3, 2021 | |
| How to define an exportable term_expansion/2? | 12 | 812 | January 17, 2022 | |
| Sharing term expansion across modules | 53 | 1693 | June 6, 2021 |