[xmonad] Issue 129 in xmonad: ClassLayout.description type signature is wrong

codesite-noreply at google.com codesite-noreply at google.com
Thu Jan 31 10:31:10 EST 2008

Issue 129: ClassLayout.description type signature is wrong

New issue report by andrea.rossato:
The type signature of ClassLayout.description, presently layout a ->
String, makes layout composition at the class level impossible.

There are cases where the Layout choice must be done within the X 
monad. In
this cases the composition of layout descriptions will loose all the choice

Since the description method is presently used to match a given layout,
composition at the class level breaks the current design.

There are 2 solution:

1. change the type signature of description to layout a -> X String
2. using something else to match layouts.

The second one seems the worse in terms of coding effort.

Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the xmonad mailing list