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.