Issue kill(all) in rtest6b so that value assigned to d in a preceding test does not...
[maxima/cygwin.git] / src / compat.lisp
blob51e749f01b1c541a0365f4e806fa6f7f0d67463d
1 ;;; -*- Mode: Lisp; Package: Maxima; Syntax: Common-Lisp; Base: 10 -*- ;;;;
2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3 ;;; The data in this file contains enhancements. ;;;;;
4 ;;; ;;;;;
5 ;;; Copyright (c) 1984,1987 by William Schelter,University of Texas ;;;;;
6 ;;; All rights reserved ;;;;;
7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9 (in-package :maxima)
11 ;; Maclisp compatibility definitions.
12 ;; This file is for Lisp differences only. No knowledge of Macsyma should be
13 ;; contained in this file.
15 ;; Run time stuff
17 (defun symbolconc (&rest args)
18 "make a symbol out of the printed representations of all args"
19 (intern (apply #'concatenate 'string
20 (mapcar #'(lambda (s)
21 (typecase s
22 (integer (format nil "~d" s))
23 (symbol (symbol-name s))
24 (string s)
25 (t (format nil "~a" s))))
26 args))))