[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Re: metalex change
From: |
Gabriel Dos Reis |
Subject: |
[Axiom-developer] Re: metalex change |
Date: |
Thu, 9 Aug 2007 14:54:27 -0500 (CDT) |
On Thu, 9 Aug 2007, address@hidden wrote:
| Gaby,
|
| (test 'rule1)
|
| eventually does a call to strconc, a vmlisp function.
| The strconc function is defined in vmlisp.lisp as
|
| (define-function 'strconc #'concat)
|
| The concat function is defined in vmlisp.lisp as a call to
|
| (system:string-concatenate a b)
|
| If you call:
|
| (strconc "PARSE-" 'rule1)
|
| you get
|
| "PARSE-RULE1"
|
| so the original code is correct as written.
No, the orignal code did not have a quote -- that is how the SBCL compiler
discover the bugs. It was plain Rule1 without quote.
Also, if the function expects strings, we should give it a string.
-- Gaby
- [Axiom-developer] metalex change, daly, 2007/08/09
- [Axiom-developer] Re: metalex change,
Gabriel Dos Reis <=
- Re: [Axiom-developer] Re: metalex change, Stephen Wilson, 2007/08/09
- Re: [Axiom-developer] Re: metalex change, Gabriel Dos Reis, 2007/08/09
- Re: [Axiom-developer] Re: metalex change, Stephen Wilson, 2007/08/09
- Re: [Axiom-developer] Re: metalex change, Gabriel Dos Reis, 2007/08/09
- Re: [Axiom-developer] Re: metalex change, Stephen Wilson, 2007/08/09