darcs patch: New layout combinator: LayoutBuilderP, and one more.

Hello xmonad world. X.L.LayoutBuilderP is a layout combinator similar to X.L.LayoutBuilder (and is based on it). But LayoutBuilder places fixed number of windows into each rectangle. LayoutBuilderP places windows matching given Property (or any other predicate) into one rectangle. darcs could not record my patch because of warnings in X.A.DynamicWorkspaces: XMonad/Actions/DynamicWorkspaces.hs:40:0: Warning: The import of `XMonad.Actions.CopyWindow' is redundant except perhaps to import instances from `XMonad.Actions.CopyWindow' To import instances alone, use: import XMonad.Actions.CopyWindow() XMonad/Actions/DynamicWorkspaces.hs:41:0: Warning: The import of `XMonad.Prompt' is redundant except perhaps to import instances from `XMonad.Prompt' To import instances alone, use: import XMonad.Prompt() <no location info>: Failing due to -Werror. Test failed! So, I removed redudant imports from that module (see the second patch). WBR, Ilya Portnov.

On Wed, May 11, 2011 at 11:53 AM, Ilya Portnov
X.L.LayoutBuilderP is a layout combinator similar to X.L.LayoutBuilder (and is based on it). But LayoutBuilder places fixed number of windows into each rectangle. LayoutBuilderP places windows matching given Property (or any other predicate) into one rectangle.
I have no opinion on the code, but it is just an added module and I see nothing obviously malicious in it, so I've pushed it.
So, I removed redudant imports from that module (see the second patch).
This patch conflicted with an earlier pending patch dealing with GHC 7 issues; I pushed that one as scheduled. If it is still needed, please amend-record it and resend a non-conflicting version. Otherwise, I will mark it as obsolete next time I do a patch review with http://darcswatch.nomeata.de/repo_http:__code.haskell.org_XMonadContrib.html -- gwern http://www.gwern.net

This 1-patch bundle was just applied to http://code.haskell.org/XMonadContrib:
20110511154010 Ilya Portnov
participants (3)
-
darcswatch@nomeata.de
-
Gwern Branwen
-
Ilya Portnov