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

4.14.4 Tries
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Database
          • Tries
            • trie_new/1
            • trie_destroy/1
            • current_trie/1
            • trie_insert/3
            • trie_lookup/3
            • trie_insert_new/3
            • trie_term/2
            • trie_gen/3
            • trie_property/2
    • Packages
Availability:built-in
trie_insert_new(+Trie, +Term, -Handle)
Add Term to Trie and return a handle to the node. Fails if Term is already part of the Trie. The handle can used with trie_term/2 to retrieve (a copy of) Term. This predicate is currently unsafe as Handle is an integer used to encode a pointer. It was used to implement a pure Prolog version of the library(tabling) library.
ClioPatria (version V3.0.0-338-gc91dba5-DIRTY)