Re: listing(+Pred, -Atom)
- From: "Carlo Capelli" <carlo.capelli@xxxxxxxx>
- Date: Thu, 12 Jul 2007 09:33:06 +0200
<Simon.Strobl@xxxxxxxxx> ha scritto nel messaggio
news:1184142100.393105.189000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
is there a predicate (e.g. in swi) of this type: listing(+Pred, -
Atom), where Atom contains the listing for Pred?
If not, how could such a predicate be written? What other predicates
are there, besides "listing", for accessing the definition of a
predicate?
I think clause/2 gives you all the info needed.
This used to be the main metadata inspection builtin.
Bye Carlo
Simon
.
- References:
- listing(+Pred, -Atom)
- From: Simon . Strobl
- listing(+Pred, -Atom)
- Prev by Date: Re: Floyd warshall
- Next by Date: about a prolog breadth-first exercises
- Previous by thread: Re: listing(+Pred, -Atom)
- Next by thread: Floyd warshall
- Index(es):
Relevant Pages
|
|