September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
8
Task/Program-name/Prolog/program-name-1.pro
Normal file
8
Task/Program-name/Prolog/program-name-1.pro
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
% SWI-Prolog version 8.0.0 for i686-linux.
|
||||
% This will find itself, and return the knowledge base it is in.
|
||||
file_name(F) :- true
|
||||
, M = user % M is the module .
|
||||
, P = file_name(_) % P is the predicate .
|
||||
, source_file(M:P, F) % F is the file .
|
||||
, \+ predicate_property(M:P, imported_from(_))
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue