4.45 Miscellaneous
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Miscellaneous
          • dwim_match/2
          • dwim_match/3
          • wildcard_match/2
          • wildcard_match/3
          • sleep/1
    • Packages
Availability:built-in
dwim_match(+Atom1, +Atom2, -Difference)
Equivalent to dwim_match/2, but unifies Difference with an atom identifying the difference between Atom1 and Atom2. The return values are (in the same order as above): equal, mismatched_char, inserted_char, transposed_char, separated and transposed_word.