A.32 library(pairs): Operations on key-value lists
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(pairs): Operations on key-value lists
          • pairs_keys_values/3
          • pairs_values/2
          • pairs_keys/2
          • group_pairs_by_key/2
          • transpose_pairs/2
          • map_list_to_pairs/3
    • Packages
Availability::- use_module(library(pairs)).(can be autoloaded)
Source[det]pairs_keys_values(?Pairs, ?Keys, ?Values)
True if Keys holds the keys of Pairs and Values the values.

Deterministic if any argument is instantiated to a finite list and the others are either free or finite lists. All three lists are in the same order.

See also
pairs_values/2 and pairs_keys/2.