[Nickle]Union values
Carl Worth
nickle@nickle.org
Fri, 26 Jul 2002 23:59:50 +0000
On Jul 26, Keith Packard wrote:
> Around 22 o'clock on Jul 26, Carl Worth wrote:
>
> > > (u) { i = 10 }
> >
> > That's not bad. I'd take that even though it does require a couple of
> > extra characters.
>
> But you'd rather use the union constructor style instead, right?
>
> u.i (10)
I'm not so sure. Now it looks like a "member function" for an object
-- icky.
> I'm currently digging out of a horrible mess inside the type system
> relating to using 0 as a generic pointer and an integer. I'm deleting a
> lot of code...
We must be doing something right then. Fun. :)
-Carl
--
Carl Worth
USC Information Sciences Institute cworth@east.isi.edu
3811 N. Fairfax Dr. #200, Arlington VA 22203 703-812-3725