If we were going to do a relative import scheme, the way to do it would be
to modify the imported name. Perhaps something like:

  import .relative.module  // note leading '.'

but there are two problems to consider:

  1. Importable subsystems don't necessarily correspond to subdirectories.
  2. The FQN of an interface is part of its specification.

Item [2] means that the FQN of the *importing* interface cannot change once
it is published. Also, once an interface file is published, you really can't
stop the user from importing it directly, which means that its name is
effectively frozen...


shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to