darcs patch: LayoutBuilder - make an example more sane

Wed May 13 17:57:32 CEST 2009 Anders Engstrom

I have not tried this modification, but I think that:
Tall 0 0.5 0.01
may be even more sane than what you changed it to (Tall 0 0.01 0.5) considering that Tall is documented as such:
data Tall a = Tall {tallNMaster :: !Int, tallRatio :: !Rational, tallRatioIncrement :: !Rational}
What do you think? Adam

Actually. I think I just found a bug in XMonad.Layout. My code
generates the sane behaviour (have a look at the actual
implementation), but according to the documentation it should be like
you have written.
/Anders
On Thu, May 14, 2009 at 02:52, Adam Vogt
I have not tried this modification, but I think that:
Tall 0 0.5 0.01
may be even more sane than what you changed it to (Tall 0 0.01 0.5)
considering that Tall is documented as such:
data Tall a = Tall {tallNMaster :: !Int, tallRatio :: !Rational, tallRatioIncrement :: !Rational}
What do you think?
Adam

On Thursday 14 May 2009 12:34:04 Anders Engström wrote:
Actually. I think I just found a bug in XMonad.Layout. My code generates the sane behaviour (have a look at the actual implementation), but according to the documentation it should be like you have written.
/Anders
Confirm this. This is actually bug in the documentation. Tall instance of LayoutClass works as in Anders Engstrom's example. My config works same way too. Here is path to fix documentation.
participants (5)
-
Adam Vogt
-
Anders Engstrom
-
Anders Engström
-
Brent Yorgey
-
Khudyakov Alexey