Number: 2002

Date: 28-Aug-84 14':02':11

Submitter: Sannella.PA

Source: Sannella.PA

Subject: Implement/document array arithmetic operations

Assigned To: 

Attn: jonl

Status: Open

In/By: 

Problem Type: Design - Impl

Impact: Moderate

Difficulty: 

Frequency: 

Priority: Hopefully

System: Language Support

Subsystem: Arithmetic

Machine: 1132

Disk: 

Lisp Version: 27-Aug-84 21':14':00

Source Files: 

Microcode Version: 5124

Memory Size: 4096

File Server: 

Server Software Version: 

Disposition: 

Description: '
Date': 15 Aug 84 17':39 PDT'
From': JonL.pa'
Subject': Re': UFN for FTIMES2'
In-reply-to': Masinter.pa''s message of 14 Aug 84 10':38 PDT'
To': Masinter.pa'
cc': Kaplan.pa, Vanmelle.pa, Purcell.pa, Bobrow.pa, lispsupport.pa'
'
Re':  "do you think the standard system should have array arithmetic in it?"'
'
This would be a good, albeit not superb, place to show off object-oriented programming.  The class of VECTORs and/or ARRAYS would have specific TIMES and PLUS methods . . .   The UFN for FTIMES2, or indeed for any arithmetic operation, would handle very few cases directly (e.g., floatps, fixps); rather it would "send a TIMES message", which basically means finding the class associated with the first arg, and fetching the method from it.'
'
'
-- JonL --'
'


Workaround: 

Test Case: 

Edit-By: 

Edit-Date: