Re: assertz & asserta in ECLiPSe ?
- From: Marco Gavanelli <no@xxxxxxx>
- Date: Tue, 30 May 2006 11:52:23 +0200
newser.bbs@xxxxxxxxxxxxxxxxx wrote:
It seems that there is only one predicate for assertion ,assert/1.
But assertz and asserta get different 2 kinds of effects.
Assertz can make the database into queue , and asserta
makes into stack.
May I ask are there predicates in ECLiPSe working the same
way as assertz and asserta respectively ?
In ECLiPSe you have asserta/1, and assert/1.
assert/1 works in the same way as assertz.
You also have assertz in library iso (that provides compatibility with ISO Prolog).
Cheers,
Marco
--
http://www.ing.unife.it/docenti/MarcoGavanelli/
.
- References:
- assertz & asserta in ECLiPSe ?
- From: newser . bbs
- assertz & asserta in ECLiPSe ?
- Prev by Date: Re: novice at prolog- need help with quicksort
- Next by Date: Re: Solvin linear programming problem in ECLiPSe Prolog
- Previous by thread: assertz & asserta in ECLiPSe ?
- Next by thread: Re: assertz & asserta in ECLiPSe ?
- Index(es):