Hiding entities in SCL import
|Assignee:||Hannu Niemistö||% Done:|
|Release notes:||* added new keyword 'hiding' to SCL and ability to include or exclude chosen symbols from import (see https://www.haskell.org/haskellwiki/Import)|
|Velocity based estimate||-|
|Release||Simantics 1.18.1||Release relationship||Auto|
Copy mechanism from Haskell that allows an optional specification of included or excluded entities during import with syntax
import "Random" (withSeed) // import only value withSeed import "Prelude" hiding (length, contains, iter, for) // import all values but those listed
(refs #5523) New mechanism to hide some symbols when importing SCL modules, fixing Apros/All with these definitions
Use hiding in SCL RouteGraph and GShow modules to make them compile properly.
Prevent NPE in SCLConsole.getCompletionProposals when the user presses CTRL+SPACE while the runtime environment is still empty, i.e. nothing has been imported.