
29 Jan
2008
29 Jan
'08
6:12 p.m.
On Tue, Jan 29, 2008 at 05:33:04PM -0500, Brent Yorgey wrote:
Yes, this is a problem with PerWorkspace in particular -- the description method is pure, but the chooser method must be in the X monad to have access to the current stackset, in order to figure out which workspace is current. So in order to get the description method right, the decision of chooser must be cached as part of the data type so that description can show the description for the correct layout. This is what PerWorkspace used to do.
just thinking aloud: a hack could be to use the "sendToSecond" method to intercept the message and change the chooser accordingly. ok. I'll shut up. Andrea