Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
CPACK
Home
List packs
Submit pack
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.26.3 Predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(macros): Macro expansion
Predicates
include_macros/3
expand_macros/5
macro_position/1
Packages
Availability:
:- use_module(
library(macros)
).
(can be autoloaded)
[semidet]
expand_macros
(
+Module, +TermIn, -TermOut, +PosIn, -PosOut
)
Perform macro expansion on
TermIn
with layout
PosIn
to produce
TermOut
with layout
PosOut
. The transformation is performed if the current load context module is
Module
(see
prolog_load_context/2
).
This predicate is not intended for direct usage.
ClioPatria
(version
V3.1.1-51-ga0b30a5
)