title: Scan list in prolog
body: <p>I want to scan a list in Prolog.
  In particular, I want to write a predicate scan_list (list), and I want to make it check to see if the current element is a positive integer and if so print it.</p>
  
  <p>Thank's.</p>