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 | 627 | August 1, 2020 | |
| Term rewriting / expansion...tutorials, other references? | 2 | 392 | April 20, 2020 | |
| Transform *arbitrary terms* in a Prolog program at load | 4 | 624 | March 3, 2021 | |
| How to define an exportable term_expansion/2? | 12 | 751 | January 17, 2022 | |
| Sharing term expansion across modules | 53 | 1385 | June 6, 2021 |