Files
mercury/tests/hard_coded/singleton_dups.exp
Julien Fischer 188d86931a Fix another problem with set_unordlist.singleton_set/2.
Branches: main, 11.07

Fix another problem with set_unordlist.singleton_set/2.  The implied
(in, in) is semidet mode did not work correctly.

library/set_unordlist.m:
	Provide an (in, in) is semidet mode for singleton_set/2 that takes
	account of the fact that the representation may contain duplicates.

tests/hard_coded/singleton_dups.{m,exp}:
	Extend this test to cover the (in, in) mode.
2012-01-23 05:44:30 +00:00

3 lines
47 B
Plaintext

Singleton with element 1
(in, in) test passed.