assert.H

00001 /* File:      assert.H
00002 ** Author(s): Kostis Sagonas, David S. Warren
00003 ** Contact:   xsb-contact@cs.sunysb.edu
00004 ** 
00005 ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998
00006 ** Copyright (C) ECRC, Germany, 1990
00007 ** 
00008 ** XSB is free software; you can redistribute it and/or modify it under the
00009 ** terms of the GNU Library General Public License as published by the Free
00010 ** Software Foundation; either version 2 of the License, or (at your option)
00011 ** any later version.
00012 ** 
00013 ** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
00014 ** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00015 ** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
00016 ** more details.
00017 ** 
00018 ** You should have received a copy of the GNU Library General Public License
00019 ** along with XSB; if not, write to the Free Software Foundation,
00020 ** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00021 **
00022 ** $Id: assert.H,v 1.24 2006/04/17 20:51:30 tswift Exp $
00023 ** 
00024 */
00025 
00026 
00027 :- export assert0/1, assert/1, asserta/1, assertz/1, 
00028           asserti/2, assertai/2, assertzi/2, assert/3.
00029 :- export retract/1, retractall/1, abolish/1, abolish/2. 
00030 :- export retract0/1.   % used in standard.P (for multifile)
00031 :- export retract_nr/1, reclaim_space/1.
00032 :- export retract_last_fact/1.
00033 :- export clause0/2, clause/2.
00034 :- export (dynamic)/1.
00035 :- export t_assert/2.
00036 :- export exchange_definitions/2.
00037 
00038 :- import append/3,ground/1 from basics.
00039 
00040 :- import default_assert_size/1 from config.
00041 
00042 :- import db_retract/4, db_retractall/3, db_abolish/1, db_clause/4,
00043   db_retract_nr/4, db_reclaim_space/2
00044      from dbclause.
00045 
00046 :- import instantiation_error/3 , permission_error/4, 
00047              type_error/4 from error_handler.
00048 
00049 :- import '_$index'/3, '_$trie_asserted'/1, retract_trie_index/1,
00050           retract_index/1, retract_table/1, mpa_to_skel/2  from file_op.
00051 :- import psc_ep/2, psc_type/2, psc_set_type/2, psc_arity/2,
00052           conpsc/2, assert_code_to_buff/1, assert_buff_to_clref/6,
00053           psc_set_ep/2, unload_seg/1, db_build_prref/3, db_get_prref/2,
00054           code_call/3, db_retract0/3
00055      from machine.
00056 :- import parsort/4 from machine.
00057 :- import db_get_last_clause/4 from machine.
00058 
00059 :- import '_$multifile_retract'/3 from parse.
00060 
00061 :- import (=..)/2, functor/3, integer/1, callable/1, 
00062   goal_cut_trans/3, goal_cut_untrans/2, abort/1, check_arity_integer/3,
00063   is_most_general_term/1, atomic/1
00064      from standard.
00065 
00066 :- import standard_symbol/3, standard_dynamic_symbol/2 from std_xsb.
00067 
00068 :- import xsb_sys_mutex_lock/1, xsb_sys_mutex_unlock/1 from thread.
00069 
00070 :- import call_xsb_hook/3, xsb_assert_hook/1, xsb_retract_hook/1 from xsb_hook.
00071 
00072  :- import obsolete/2 from obsolete.

Generated on Wed Jul 26 13:30:47 2006 for XSB by  doxygen 1.4.5