From: Ken A. <kan...@bb...> - 2003-07-25 21:54:41
|
At 05:37 PM 7/25/2003 -0400, Timothy John Hickey wrote: >On Friday, July 25, 2003, at 05:16 PM, Ken Anderson wrote: > >>Thanks Tim, >> >>These are all good changes. >> >>JDK 1.5 will have a think called static import so you can do >> >>import import Math; >> >>and use sin and cos directly. We could add something like that now to JScheme. >Hmmmmm. Might cause some conflicts those with multiple imports..... Well, yes. I haven't thought this through. But you can also do import static Math.sin; Maybe it should be part of the environment stuff. But it would let you say things like red$ rather than Color.red$. |