From fc2ec00ab6a934b4c0b35d124f726c766f3cbbeb Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 19 Oct 2007 02:34:26 +0000 Subject: Fix SF/1790912 * domain.spad: New. * Makefile.pamphlet (axiom_algebra_layer_23): Include DOMAIN.o (DOMAIN.NRLIB/code.$(FASLEXT)): New rule. --- src/algebra/ChangeLog | 7 +++++++ src/algebra/Makefile.in | 6 +++++- src/algebra/Makefile.pamphlet | 6 +++++- src/algebra/domain.spad | 45 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 src/algebra/domain.spad (limited to 'src/algebra') diff --git a/src/algebra/ChangeLog b/src/algebra/ChangeLog index 40cf4385..cbb2b4fc 100644 --- a/src/algebra/ChangeLog +++ b/src/algebra/ChangeLog @@ -1,3 +1,10 @@ +2007-10-18 Gabriel Dos Reis + + Fix SF/1790912 + * domain.spad: New. + * Makefile.pamphlet (axiom_algebra_layer_23): Include DOMAIN.o + (DOMAIN.NRLIB/code.$(FASLEXT)): New rule. + 2007-10-18 Gabriel Dos Reis Fix SF/1795259 diff --git a/src/algebra/Makefile.in b/src/algebra/Makefile.in index 2ea676a4..f9dc2f60 100644 --- a/src/algebra/Makefile.in +++ b/src/algebra/Makefile.in @@ -811,7 +811,7 @@ axiom_algebra_layer_22_objects = \ axiom_algebra_layer_23 = \ CPIMA.o IRURPK.o LAZM3PK.o LEXTRIPK.o \ NORMPK.o QCMPACK.o RURPK.o SFRGCD.o \ - SFQCMPK.o INTRVL.o ODEEF.o + SFQCMPK.o INTRVL.o ODEEF.o DOMAIN.o axiom_algebra_layer_23_nrlibs = \ $(axiom_algebra_layer_23:.$(OBJEXT)=.NRLIB/code.$(OBJEXT)) @@ -900,6 +900,10 @@ $(builddir)/%.tex: $(srcdir)/%.pamphlet $(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex $(INSTALL_DATA) $< $@ +DOMAIN.NRLIB/code.$(FASLEXT): domain.spad + @ rm -rf $*.NRLIB + echo ")co $(srcdir)/domain.spad" | ${INTERPSYS} + ${INPUT}/TESTFR.input: $(srcdir)/fr.spad.pamphlet diff --git a/src/algebra/Makefile.pamphlet b/src/algebra/Makefile.pamphlet index 5e3d9ad0..b9c956c6 100644 --- a/src/algebra/Makefile.pamphlet +++ b/src/algebra/Makefile.pamphlet @@ -1235,7 +1235,7 @@ zerodim.spad.pamphlet (LEXTRIPK IRURPK RURPK) axiom_algebra_layer_23 = \ CPIMA.o IRURPK.o LAZM3PK.o LEXTRIPK.o \ NORMPK.o QCMPACK.o RURPK.o SFRGCD.o \ - SFQCMPK.o INTRVL.o ODEEF.o + SFQCMPK.o INTRVL.o ODEEF.o DOMAIN.o axiom_algebra_layer_23_nrlibs = \ $(axiom_algebra_layer_23:.$(OBJEXT)=.NRLIB/code.$(OBJEXT)) @@ -1853,6 +1853,10 @@ $(axiom_build_texdir)/diagrams.tex: $(axiom_src_docdir)/diagrams.tex <> <> +DOMAIN.NRLIB/code.$(FASLEXT): domain.spad + @ rm -rf $*.NRLIB + echo ")co $(srcdir)/domain.spad" | ${INTERPSYS} + @ <>= diff --git a/src/algebra/domain.spad b/src/algebra/domain.spad new file mode 100644 index 00000000..dec41cc2 --- /dev/null +++ b/src/algebra/domain.spad @@ -0,0 +1,45 @@ +--Copyright (C) 2007, Gabriel Dos Reis. +--All rights reserved. +-- +--Redistribution and use in source and binary forms, with or without +--modification, are permitted provided that the following conditions are +--met: +-- +-- - Redistributions of source code must retain the above copyright +-- notice, this list of conditions and the following disclaimer. +-- +-- - Redistributions in binary form must reproduce the above copyright +-- notice, this list of conditions and the following disclaimer in +-- the documentation and/or other materials provided with the +-- distribution. +-- +-- - Neither the name of The Numerical Algorithms Group Ltd. nor the +-- names of its contributors may be used to endorse or promote products +-- derived from this software without specific prior written permission. +-- +--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +--IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +--TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +--PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +--OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +--EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +--PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +--PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +--LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +--NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +--SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +)abbrev domain DOMAIN Domain +++ Author: Gabriel Dos Reis +++ Date Create: October 18, 2007. +++ Date Last Updated: October 18, 2007. +++ Basic Operations: +++ Related Constructors: Type, OutputForm +++ Also See: Type +Domain(): Public == Private where + Public ==> CoercibleTo(OutputForm) + Private ==> add + coerce x == + outputDomainConstructor(x)$Lisp + -- cgit v1.2.3