For Programmers: Free Programming Magazines  


Home > Archive > Prolog > June 2007 > [SWI] redefine_system_predicates/1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [SWI] redefine_system_predicates/1
Mauro Di Nuzzo

2007-05-31, 8:04 am

Hi!
I am having problems with SWI5.6.23's redefine_system_predicate/1 predicate
(I never used it before).
In particular, this is the code:

:- redefine_system_predicate(use_module/1).
use_module(File) :- format('I do not want you to use module "~w"\n',
[File]).

When I consult the file I get:

'$record_clause'/3: No permission to modify static_procedure `use_module/1'

Any help?
Thank you.

M


Mauro Di Nuzzo

2007-05-31, 8:04 am

I got it. I should use predicate head and not predicate indicator. This
issue is sometimes annoying.
Sorry.


Dertenster5

2007-06-08, 1:49 am

Jennifer Lopez Shows Hairless Cunt In Forest!

http://www.shockingonline.com/Play?clip=1673286



asian searcher sex sex tabu toy college lesbian sex free college sex video hardcore gay sex
http://slw7pl0p.t35.com/teen-sex/fr...ex-gallery.html http://jrkrmu4j.t35.com/asian-sex/a...mateur-sex.html http://d18lvjl7.t35.com/sex-com/philippine-sex-com.html http://bfaqolfz.t35.com/black-sex/adult-black-sex.html http://r3hdrcs8.t35.com/dor/card-co...dit-v-debt.html
Sememaplen79

2007-06-12, 11:08 pm

Nice girls, big boobs :)
http://nice-females-dicked.org/video?id=218571
Rogan

2007-06-20, 1:16 pm

Cameron Diaz and Olsen Twins Strap On Lesbian XXXXing!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com