%% Copyright (c) 1995,1996 by the University of Pennsylvania %% %% For information about the distributaion, copying, and modification %% %% of this software, please read the file COPYING located in the root %% %% directory of this distribnutaion. If you did not receive the file %% %% COPYING write to Philip Wickline at the address below. %% %% This program is distributed in the hope that it will be useful but %% %% WITHOUT ANY WARRANTY; without even the implied warranty of %% %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file %% %% COPYING for more details. %% %% For information about the structure of the Terzo lambdaProlog %% %% implementation, see the file src/README in this distribution. Please %% %% address any questions about this code or the Terzo lambdaProlog %% %% implementation to Philip Wickline at . %% %% Authors: %% %% Philip Wickline %% % % The is predicate provided by the Eval module performs built % arithmetic and string operations, as in Prolog. For instance, % %?- X = 3 + 5. % %X = 3 + 5 % %?- X is 3 + 5. % %X = 8 module Eval. import Exception, Real, Int, String. type is A -> A -> o. infix is 4.