add listing.yap
This commit is contained in:
parent
d58dcdc3e6
commit
426d952894
20
library/listing.yap
Normal file
20
library/listing.yap
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
|
||||
emulates listing.pl, but just the interface for now.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
:- module(swi_listing,
|
||||
[ listing/0,
|
||||
listing/1,
|
||||
portray_clause/1, % +Clause
|
||||
portray_clause/2, % +Stream, +Clause
|
||||
portray_clause/3 % +Stream, +Clause, +Options
|
||||
]).
|
||||
|
||||
|
||||
:- meta_predicate portray_clause( +, + , : ).
|
||||
|
||||
portray_clause(Stream, Term, M:Options) :-
|
||||
portray_clause( Stream, Term ).
|
Reference in New Issue
Block a user