title: Find the minimum in a mixed list in Prolog
body: <p>I am new to prolog, I am just learning about lists and I came across <a href="https://stackoverflow.com/questions/8045367/getting-the-minimum-value-of-a-list">this question</a>. The answer works perfect for a list of integers. </p>
  
  <pre><code>minimo([X], X) :- !.
  minimo([X,Y|Tail], N):-
      ( X &gt; Y -&gt;
          minimo([Y|Tail], N)
      ;
          minimo([X|Tail], N)
      ).
  </code></pre>
  
  <p>How can I change this code to get the smallest int from a mixed list?</p>
  
  <p>This </p>
  
  <pre><code>sint([a,b,3,2,1],S)
  </code></pre>
  
  <p>should give an answer:</p>
  
  <pre><code>S=1
  </code></pre>