Re: Homogeneous sequence

new topic     » goto parent     » topic index » view thread      » older message » newer message

Reading this thread with interest and yet with reservations also.

According to the proposal would I be able to do something like this:
sequence of integer x
sequence y
object z

-- some code assigning values to x, y, and z

x = y -- typecheck y to make sure it complies with the definition
x = z -- ditto


Or would it fail right away because the type definitions do not match? 

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu