[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
comaptibility in STRING usage
- To: ALAN at MIT-MC
- Subject: comaptibility in STRING usage
- From: JONL at MIT-MC (Jon L White)
- Date: Mon, 20 Oct 80 22:11:00 GMT
- Cc: (BUG LISP) at MIT-MC, (BUG LISPM) at MIT-MC, NIL at MIT-MC
- Original-date: 20 OCT 1980 1811-EDT
Date: 20 October 1980 04:54-EDT
From: Alan Bawden <ALAN at MIT-MC>
If the MacLisp string package is trying to be LispMachine-like, then
(equal "Foo" "fOO") should return T.
In fact, the NIL-I group had rather decided that EQUAL should not call
STRING-EQUAL, which is the LISPM-compatible function, but rather do
a more strict equivalence; this is reflected in the code for the
method EQUAL->STRING-CLASS, and could be easily changed, but I suppose
we'd lobby for LISPM making the change instead (i.e., making a distinction
between the two kinds of string-equality, and letting EQUAL call thhe
more strict one rather than STRING-EQUAL as currently defined.)