Help for this page

Select Code to Download


  1. or download this
    owns( merlyn, gold ).
    owns( ovid, pocketLint ).
    ...
    steals_from( X, Y ) :-
      thief( X ),
      rich( Y ).
    
  2. or download this
    badguy will steal from merlyn
    badguy will not steal from ovid
    badguy will steal from kudra
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
      }
      return \@rule;
    }
    
  4. or download this
    (?(?{attack $q [3], $q [4]})x|)