darcs patch: refactor main, add "recompile" to XMonad.Core

Fri Nov 9 00:09:33 CET 2007 Lukas Mai

On Fri, Nov 09, 2007 at 12:10:24AM +0100, Lukas Mai wrote:
Fri Nov 9 00:09:33 CET 2007 Lukas Mai
* refactor main, add "recompile" to XMonad.Core
+ recompile dir <- fmap (++ "/.xmonad") getHomeDirectory
This refactoring leaves a bit of ugliness: this finding of the .xmonad directory appears twice in the code. Any ideas how to make this prettier? -- David Roundy Department of Physics Oregon State University

On Fri, Nov 09, 2007 at 07:43:53AM -0800, David Roundy wrote:
On Fri, Nov 09, 2007 at 12:10:24AM +0100, Lukas Mai wrote:
Fri Nov 9 00:09:33 CET 2007 Lukas Mai
* refactor main, add "recompile" to XMonad.Core + recompile dir <- fmap (++ "/.xmonad") getHomeDirectory
This refactoring leaves a bit of ugliness: this finding of the .xmonad directory appears twice in the code. Any ideas how to make this prettier?
Naive answer: getXMonadDirectory :: IO FilePath recompile :: FilePath -> IO () ?

On Tue, Nov 13, 2007 at 03:59:36AM -0600, Spencer Janssen wrote:
On Thursday 08 November 2007 17:10:24 Lukas Mai wrote:
Fri Nov 9 00:09:33 CET 2007 Lukas Mai
* refactor main, add "recompile" to XMonad.Core Applied.
I'm catching up with the mailing list and I don't see this patch in the repository. Are you sure you applied it? Thanks Andrea
participants (5)
-
Andrea Rossato
-
David Roundy
-
Devin Mullins
-
Lukas Mai
-
Spencer Janssen