the empty dict

Daniel Lyons <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi,

I'm trying to get a feel for how the new dict type works but I'm getting
hung up on the absolute most basic step: the empty dict. This works, for
instance:

  ?- get_dict(Key, d{}, V).
  false.

But this enters an infinite loop:

  ?- get_dict_ex(nonexistent, d{}, V).
  << loops >>

Same with get_dict/3. Tracing is no help either.

I'm using SWI version 7.1.2 which I built from source on RHEL 6. Any
idea what I'm doing wrong?

Thanks,

-- 
Daniel Lyons
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.