title: Converting a list of integers into a CLPFD domain
body: <p>I am trying to convert a list of integers to a CLPFD domain. e.g. <code>[1,5,7]</code> -&gt; <code>1\/5\/7</code>. I tried reading the documentation, but I couldn't find anything. The only thing I found is fd_dom/2.
  <a href="https://www.swi-prolog.org/pldoc/man?predicate=fd_dom/2" rel="nofollow noreferrer">fd_dom documentation.</a> Here, they are converting a domain into a list of integers (opposite of what I want). I am new to CLPFD and prolog in general. So, if someone could also explain the fd_dom documentation apart from answering my question, I would really appreciate it.</p>