WSexplorer bug
2 posts
• Page 1 of 1
WSexplorer bug
Sometimes the Workspace Explorer (dyalog 12.1) has a weird behaviour.
This is an example:
===============================
)clear
)copy DFNS tree
'myNS'⎕ns''
myNS.NS←myNS
tree myNS
#.myNS
• NS → #.myNS
===============================
the tree function gives a correct answer, but if you open the WS explorer you’ll find that the tree under myNS has too many descendants.
Please see the attached file with an image of WS explorer.
This is an example:
===============================
)clear
)copy DFNS tree
'myNS'⎕ns''
myNS.NS←myNS
tree myNS
#.myNS
• NS → #.myNS
===============================
the tree function gives a correct answer, but if you open the WS explorer you’ll find that the tree under myNS has too many descendants.
Please see the attached file with an image of WS explorer.
-
giangiquario - Posts: 46
- Joined: Thu Nov 26, 2009 8:55 am
- Location: Milano, Italia
Re: WSexplorer bug
Interesting one !
WSExplorer is showing that there are indeed recursive references; each time you double click on NS you descend one level further, and this is what WSEXplorer is showing. Similarly you can type )CS NS repeatedly, and in each case )OBS will show NS.
tree in dfns is stopping once it has realised that it has been here before.
Perhaps we need to have some way of indicating more clearly the recursive nature of such namespaces, but then we also would need to consider cases where the recursion is of a more complex nature.
WSExplorer is showing that there are indeed recursive references; each time you double click on NS you descend one level further, and this is what WSEXplorer is showing. Similarly you can type )CS NS repeatedly, and in each case )OBS will show NS.
tree in dfns is stopping once it has realised that it has been here before.
Perhaps we need to have some way of indicating more clearly the recursive nature of such namespaces, but then we also would need to consider cases where the recursion is of a more complex nature.
-
AndyS|Dyalog - Posts: 263
- Joined: Tue May 12, 2009 6:06 pm
2 posts
• Page 1 of 1
Return to Functional Programming
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group