Menu

#252 Documentation error for associative tries

Other
open
nobody
5
2021-12-20
2021-12-20
No

Example 7.1.2 on page 338 of Manual 1 (XSB 4.0) contains multiple errors:

  • Associative tries are created with type(pras), not type(assoc).
  • Contrary to the example, trie_insert fails if the key already exists; the value is not updated. This behavior is correctly described in section 7.3.

Discussion


Log in to post a comment.