SWI-Prolog So SUPRISING !!



If a private predicate with the same name as an exported one ,but
different
in arrity was defined , the behavior of that private predicate is
suprising.

Eg , please combin my previous codes for readln(L,E) to the codes in
www.hta-bi.bfh.ch/~hew/prolog/chapter6/turbo.pl , and then execute
readln/2 , you will see what happens .

If this is not clear , I will explain the details later.

.