We Recommend

The Art of Prolog, Second Edition: Advanced Programming Techniques The Art of Prolog, Second Edition: Advanced Programming Techniques
This new edition of The Art of Prolog contains a number of important changes. Most background sections at the end of each chapter have been updated to take account of important recent research results, the references have been greatly expanded, and more advanced exercises have been added which have been used successfully in teaching the course.


Ballyhoo


Posted By

darkphotn on 01/13/08


Tagged

code crazy elite wtf prolog


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

indecent


Crazy Prolog Code


Published in: Prolog 


  1. output(X,Y) :- my_output(X,Y)!.
  2.  
  3. my_output(X,Y) :- my_output_(X,Y);
  4. my_output_(X,Y) :- my_output__(X,Y);
  5. my_output__(X,Y) :- my_output___(X,Y);
  6. my_output___(X,Y) :- write([X | [is | [Y | []]]]), my_________().
  7. my_________() :- my________().
  8. my________() :- my_______().
  9. my_______() :- my______().
  10. my______() :- my_____().
  11. my_____() :- my____().
  12. my____() :- my___().
  13. my___() :- my__().
  14. my__() :- my_().
  15. my_() :- my().
  16. my() :- !.

Report this snippet 

You need to login to post a comment.