home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / TESTS / LF / SIMP_EQN.LF < prev    next >
Text File  |  1996-06-04  |  144b  |  6 lines

  1. % This problem is from comp.lang.prolog,
  2. % wender@top.cis.syr.edu (Elaine Wenderholm)
  3.  
  4. between(I,I,_).
  5. between(L,I,H) :- L<H, between(L+1,I,H).
  6.