Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. location(egg, duck_pen).
  2.  
  3. dynamic location/2.
  4. dynamic(location/2).
  5. dynamic(location)/2.
  6.  
  7. No permission to redefine built-in predicate `(dynamic)/1'
  8. Use :- redefine_system_predicate(+Head) if redefinition is intended
  9.  
  10. ?- retract(location(egg,duck_pen)).
  11. ERROR: retract/1: No permission to modify static procedure `location/2'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement