9.3 CHR in SWI-Prolog Programs
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • CHR: Constraint Handling Rules
        • CHR in SWI-Prolog Programs
          • Embedding CHR in Prolog Programs
          • CHR Constraint declaration
          • CHR Compilation
    • Packages

9.3.1 Embedding CHR in Prolog Programs

The CHR constraints defined in a .pl file are associated with a module. The default module is user. One should never load different .pl files with the same CHR module name.