From: Libor S. <li...@gm...> - 2008-07-06 11:29:49
|
Fair enough. Could the "import" perhaps for now be defined as a syntactic sugar for: using "lib:somelib"; extern a; extern b; extern c; extern xyz; Would that work moreless as intended, within the one flat namespace? Libor On Sun, 06 Jul 2008 12:12:49 +0100, Albert Graef <Dr....@t-...> wrote: > Libor Spacek wrote: >> Would something like: >> >> import a,b,c,xyz from somelib; >> >> be possible in Pure, to be used instead of the blunt weapon "using somelib;"? > > Not right now, as Pure has only one flat global namespace at this point. > It can be done, but it's going to be some work, and I have to make sure > that this doesn't break the C interface with its flat namespace. > > Albert > |