6.14 Transparent predicates: definition and context module
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Modules
        • Transparent predicates: definition and context module
          • module_transparent/1
          • context_module/1
          • strip_module/3
    • Packages
Availability:built-in
strip_module(+Term, -Module, -Plain)
Used in module-transparent predicates or meta-predicates to extract the referenced module and plain term. If Term is a module-qualified term, i.e. of the format Module:Plain, Module and Plain are unified to these values. Otherwise, Plain is unified to Term and Module to the context module.