Return-Path: <john.harrison-request@uk.ac.cam.cl>
Delivery-Date: 
Received: from ted.cs.uidaho.edu by swan.cl.cam.ac.uk with SMTP (PP-6.0) 
          id <00975-0@swan.cl.cam.ac.uk>; Mon, 6 Jul 1992 11:51:20 +0100
Received: by ted.cs.uidaho.edu (16.6/1.34) id AA01576;
          Mon, 6 Jul 92 03:42:36 -0700
Sender: info-hol-request@edu.uidaho.cs.ted
Errors-To: info-hol-request@edu.uidaho.cs.ted
Received: from swan.cl.cam.ac.uk by ted.cs.uidaho.edu (16.6/1.34) id AA01571;
          Mon, 6 Jul 92 03:42:31 -0700
Received: from scoter.cl.cam.ac.uk by swan.cl.cam.ac.uk 
          with SMTP (PP-6.0) to cl id <00386-0@swan.cl.cam.ac.uk>;
          Mon, 6 Jul 1992 11:42:35 +0100
Received: by scoter.cl.cam.ac.uk (4.1/SMI-3.0DEV3) id AA01868;
          Mon, 6 Jul 92 11:42:18 BST
Date: Mon, 6 Jul 92 11:42:18 BST
From: John.Van-Tassel@uk.ac.cam.cl
Message-Id: <9207061042.AA01868@scoter.cl.cam.ac.uk>
To: info-hol@edu.uidaho.cs.ted, vdvoort@nl.utwente.cs
Subject: Re: building HOL on SUN4/AKCL

The problem lies in a change to AKCL's string handling in version
1-615.  You'll need to redefine the following functions in
lisp/f-cl.l and all should be well:

   ;;;(defun uconcat (&rest l)
   ;;;   (make-symbol
   ;;;      (apply #'concatenate 'string (mapcar #'princ-to-string l))))

   ;;;(defun concat (&rest l)
   ;;;   (intern
   ;;;      (apply #'concatenate 'string (mapcar #'princ-to-string l))))

   ;;;(defun concatl (l) (apply #'concat l))


   (defun concat-aux (l)
     (do ((chars (reverse l) (cdr chars))
	 (res '"" (concatenate 'string (princ-to-string (car chars)) res)))
	 ((null chars) res)))

   (defun uconcat (&rest l)
      (make-symbol (concat-aux l)))

   (defun concat (&rest l)
      (intern (concat-aux l)))

   (defun concatl (l) (intern (concat-aux l)))


   ;;;(defun catenate (&rest l)
   ;;;   (apply #'concatenate 'string
   ;;;      (mapcar #'princ-to-string l)))

   (defun catenate (&rest l)
       (concat-aux l))

Hope this helps,

JVT

------------------------------------------------------------------------------
John Van Tassel			|  Tel: +44-223-334729
Univ. of Cambridge		|  Fax: +44-223-334678
Computer Laboratory		|  
Pembroke Street			|  Email: jvt@cl.cam.ac.uk
Cambridge CB2 3QG		|
England				|
