Next: , Previous: , Up: Top   [Index]

7 Memoizing

it is possible to perform most operation in guile-log using ratioanl datastructures, The printer supports printing recursive data structures in guile-log and prolog. Generally the handling of rational datstructures are expensive, therefore mechanisms to turn this feture on and off have been designed. Yoy may use the .rec interactive directive. Or you can use the -functorize(recursive) functor to tell that the function shall be evaluated with recursives on. Or in code use

prolog recursive(Code).