YAP
7.1.0
listing.yap
Go to the documentation of this file.
1
/*************************************************************************
2
* *
3
* YAP Prolog *
4
* *
5
* Yap Prolog was developed at NCCUP - Universidade do Porto *
6
* *
7
* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 *
8
* *
9
**************************************************************************
10
* *
11
* File: listing.yap *
12
* Last rev: *
13
* mods: *
14
* comments: listing a prolog program *
15
* *
16
*************************************************************************/
17
18
/**
19
* @file library/listing.yap
20
* @author VITOR SANTOS COSTA <vsc@VITORs-MBP.lan>
21
* @date Tue Nov 17 22:03:59 2015
22
*
23
* @brief Emulate SWI Prolog's listing.
24
*
25
*
26
*/
27
:- module(
swi_listing
,
28
[
listing/0,
29
listing/1
,
30
portray_clause/1
,
% +Clause
31
portray_clause/2
,
% +Stream, +Clause
32
portray_clause/3
% +Stream, +Clause, +Options
33
]).
listing/1
listing(+ P)
Definition:
listing.yap:73
portray_clause/1
portray_clause(+ C)
portray_clause/2
portray_clause(+ S,+ C)
library
listing.yap
Generated by
1.9.3