<html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="previous" href="Goals.Array.html"> <link rel="Up" href="Goals.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Domain" rel="Chapter" href="Domain.html"> <link title="SetDomain" rel="Chapter" href="SetDomain.html"> <link title="Stak" rel="Chapter" href="Stak.html"> <link title="Data" rel="Chapter" href="Data.html"> <link title="Cstr" rel="Chapter" href="Cstr.html"> <link title="Var" rel="Chapter" href="Var.html"> <link title="Invariant" rel="Chapter" href="Invariant.html"> <link title="Reify" rel="Chapter" href="Reify.html"> <link title="Arith" rel="Chapter" href="Arith.html"> <link title="Conjunto" rel="Chapter" href="Conjunto.html"> <link title="Goals" rel="Chapter" href="Goals.html"> <link title="FdArray" rel="Chapter" href="FdArray.html"> <link title="Gcc" rel="Chapter" href="Gcc.html"> <link title="Alldiff" rel="Chapter" href="Alldiff.html"> <link title="Sorting" rel="Chapter" href="Sorting.html"> <link title="Interval" rel="Chapter" href="Interval.html"><title>Goals.List</title> </head> <body> <div class="navbar"><a href="Goals.Array.html">Previous</a> <a href="Goals.html">Up</a> </div> <center><h1>Module <a href="type_Goals.List.html">Goals.List</a></h1></center> <br> <pre><span class="keyword">module</span> List: <code class="code">sig</code> <a href="Goals.List.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span class="keyword">val</span> <a name="VALforall"></a>forall : <code class="type">?select:('a list -> 'a * 'a list) -> ('a -> <a href="Goals.html#TYPEt">Goals.t</a>) -> 'a list -> <a href="Goals.html#TYPEt">Goals.t</a></code></pre><div class="info"> <code class="code">forall ?select g [x1;x2;...;xn]</code> is <code class="code">g x1 &&~ g x2 &&~ ... &&~ g xn</code>, i.e. returns the conjunctive iteration of goal <code class="code">g</code> on list <code class="code">a</code>.<br> </div> <pre><span class="keyword">val</span> <a name="VALexists"></a>exists : <code class="type">?select:('a list -> 'a * 'a list) -> ('a -> <a href="Goals.html#TYPEt">Goals.t</a>) -> 'a list -> <a href="Goals.html#TYPEt">Goals.t</a></code></pre><div class="info"> <code class="code">exists ?select g [x1;x2;...;xn]</code> is <code class="code">g x1 ||~ g x2 ||~ ... ||~ g xn</code>, i.e. returns the disjunctive iteration of goal <code class="code">g</code> on list <code class="code">a</code>.<br> </div> <pre><span class="keyword">val</span> <a name="VALmember"></a>member : <code class="type">Var.Fd.t -> int list -> <a href="Goals.html#TYPEt">Goals.t</a></code></pre><div class="info"> <code class="code">member v l</code> returns the disjunctive iteration of the instantiation of the variable <code class="code">v</code> to the values in the integer list <code class="code">l</code>. Defined by <code class="code">fun v l -> exists (fun x -> create (fun () -> Fd.unify v x)) l</code>.<br> </div> <pre><span class="keyword">val</span> <a name="VALlabeling"></a>labeling : <code class="type">Var.Fd.t list -> <a href="Goals.html#TYPEt">Goals.t</a></code></pre><div class="info"> Standard labeling, i.e. conjunctive non-deterministic instantiation of a list of variables. Defined as <code class="code">forall indomain</code>.<br> </div> </body></html>