
nth_value(+Domain, ++N, -Value)

   return the nth value in a domain

Arguments
   Domain               a domain list
   N                    an integer
   Value                a free variable 

Type
   library(fd_search)

Description
Find the nth value in a domain given by a list of integers
and intervals, as it is returned for example by fd's ::/2.


Resatisfiable
   no

Fail Conditions
   There are less than N values in the domain.

Examples
   
% a typical use

         ....
         X :: L,
	 nth_value(L,2,Value),


See Also
   fd : :: / 2, suspend : :: / 2, range : :: / 2, eplex : :: / 2, ria : :: / 2, fdplex : :: / 2, fd_sets : :: / 2, ic : :: / 2
