title: Is it possible make predicate from List?
body: <p>I use SWI-Prolog </p>
  
  <p>I have lists like this </p>
  
  <pre><code>[sunny,hot,high,weak,no]
  </code></pre>
  
  <p>and </p>
  
  <pre><code>[outlook,temperature,humidity,wind,play_tennis]
  </code></pre>
  
  <p>I want to make a predicate like </p>
  
  <pre><code>run(no,  [outlook=sunny,    temp=hot,  humidity=high,   wind=weak  ]).
  </code></pre>
  
  <p>Is it possible? </p>