We have seen that Prolog can have difficulties with infinite data sets, such as that produced by
Fantastic news! We've Found the answer you've been seeking!
Question:
We have seen that Prolog can have difficulties with infinite data sets, such as that produced by the clauses
which causes an occur-check problem. In Haskell (Chapter 3), infinite data constructions, such as the foregoing, are possible using delayed evaluation. Does delayed evaluation make sense in Prolog? Can you think of any other ways infinite data structures might be dealt with?
Related Book For
Statistics Unlocking The Power Of Data
ISBN: 9780470601877
1st Edition
Authors: Robin H. Lock, Patti Frazer Lock, Kari Lock Morgan, Eric F. Lock, Dennis F. Lock
Posted Date: