beautify code
This commit is contained in:
parent
7f952c8b74
commit
e4603ffe22
11
pl/absf.yap
11
pl/absf.yap
@ -113,11 +113,14 @@ swapped, making the call
|
|||||||
valid as well.
|
valid as well.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
absolute_file_name(File,TrueFileName,Opts) :- ( var(TrueFileName) ->
|
absolute_file_name(File,TrueFileName,Opts) :-
|
||||||
true ; atom(TrueFileName), TrueFileName \= [] ), !,
|
( var(TrueFileName) ->
|
||||||
absolute_file_name(File,Opts,TrueFileName).
|
true ;
|
||||||
|
atom(TrueFileName), TrueFileName \= []
|
||||||
|
), !,
|
||||||
|
absolute_file_name(File,Opts,TrueFileName).
|
||||||
absolute_file_name(File,Opts,TrueFileName) :-
|
absolute_file_name(File,Opts,TrueFileName) :-
|
||||||
'$absolute_file_name'(File,Opts,TrueFileName,absolute_file_name(File,Opts,TrueFileName)).
|
'$absolute_file_name'(File,Opts,TrueFileName,absolute_file_name(File,Opts,TrueFileName)).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@pred absolute_file_name(+Name:atom,+Path:atom) is nondet
|
@pred absolute_file_name(+Name:atom,+Path:atom) is nondet
|
||||||
|
Reference in New Issue
Block a user