I'd like to implement the problem of autoreferent matrix in Scheme, but I don't
know how to start, because I don't have any algorithm.
It would be great if you could give me a hint.
Thanks a lot in advance...
--
.___________________________.________________________________________________.
| Damien WYART | :- dynamic(virus/1). % To prevent compiling |
| ·····@efrei.fr | virus(A) :- clause(virus(B),C), |
| | A=(virus(B):-C), assert(A), |
| You know,Prolog is funny! | virus(A). |
|___________________________|________________________________________________|