[420] in java-interest
Re: Request for feature: type casing
daemon@ATHENA.MIT.EDU (Simon Spero)
Tue Jun 20 23:13:49 1995
Date: Tue, 20 Jun 1995 12:56:50 -0700 (PDT)
From: Simon Spero <ses@tipper.oit.unc.edu>
To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Cc: Simon Spero <majordom@java.Eng.Sun.COM>, java-interest@java.Eng.Sun.COM
In-Reply-To: <9506201700.AA13012@acorn.Eng.Sun.COM>
On Tue, 20 Jun 1995, Arthur van Hoff wrote:
>
> We've been considering a 'typecase' statement for a while. It makes
> a lot of sense to have one. I don't think you could implement it using
> a macro's though, the type of the variable has to be changed inside
You could do it with lisp style macros (code evaluated at compile time,
rather than simple text substitution)... :)
Simon
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com