• 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 SummaryHelp

  • 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)
Source[semidet]include_macros(+M, +Macro, -Expanded)
Include macros from another module. This predicate is a helper for #import(File). It calls’$macro’/2 in M, but fails silently in case Macro is not defined in M as it may be defined in another imported macro file or further down in the current file.
ClioPatria (version V3.1.1-51-ga0b30a5)