• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
    • RDF quality heuristics
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.51 library(varnumbers): Utilities for numbered terms
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(varnumbers): Utilities for numbered terms
          • numbervars/1
          • varnumbers/2
          • varnumbers/3
          • max_var_number/3
          • varnumbers_names/3
    • Packages
Availability::- use_module(library(varnumbers)).(can be autoloaded)
Source[det]varnumbers_names(+Term, -Copy, -VariableNames)
If Term is a term with numbered and named variables using the reserved term’$VAR'(X), Copy is a copy of Term where each’$VAR'(X) is consistently replaced by a fresh variable and Bindings is a list X = Var, relating the X terms with the variable it is mapped to.
See also
numbervars/3, varnumbers/3, read_term/3 using the variable_names option.
ClioPatria (version V3.1.1-40-g9d9e003)