Marco Antoniotti wrote: > > On Dec 8, 2004, at 9:18 AM, bob coyne wrote: > >> >> I'd like to displace an (unsigned-byte 8) array to an (unsigned-byte 32) >> array. >> But that doesn't seem to be supported (see below). Is there any way to >> do this? > > > The two arrays have different type. Therefore they cannot be > displaced (I am positive the CLHS has some wording like this in place).
> > OTOH, the wrath of the programming Goddess Ada will be UNCHECKED upon > you for even asking something like this. :) Hey, on the Symbolics, we had a 32bit framebuffer that could also be addressed as an 8bit framebuffer. (different hardware addresses modes to the same physical memory). I forget exactly how the arrays were to made to do that. But it was very convenient.
