Subject: Re: use_module in SISCtus prolog

> 
> 	How does one write a prolog statement, from within a file, to access a
> library module?  I tried "use_module(library(lists))."  It worked fine when I
> entered it manually, but when I put it in a file I got the following message
> when I loaded the file: "{Warning: use_module/1 - not redefined}"
> 	Am I right to use use_module?  If so, how does one use it from within
> a file?  Im not, how else should one access a library module (or even a library
> predicate) from within a file?

:- use_module(library(lists)).

I have already answered this question once (at least). Please save
my email to the class for future reference.

/CC

___________________________________________________________________________
Christian Collberg      | Email: c_collberg@cs.auckland.ac.nz
Computer Science Dept   | Fax:   +64-9-373-7453
University of Auckland  | Phone: +64-9-373-7599 x 6137
Private Bag 92019,      | WWW:   http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ            |
___________________________________________________________________________
"Education is an admirable thing, but it is well to remember from time
to time that nothing that is worth knowing can be taught." - Oscar Wilde
___________________________________________________________________________