[xmonad] XMonad.Config.Prime, a monadic config syntax

Devin Mullins me at twifkak.com
Fri Sep 28 07:26:13 CEST 2012

On Thu, Sep 27, 2012 at 06:09:10PM -0400, adam vogt wrote:
> At some point I tried something that's perhaps a bit more ambitious,
> at least in terms of re-order things like layout modifiers:
> http://projects.haskell.org/xmonad-extras/XMonad-Config-Alt.html
> but I think your TH solution to the layout issue is more likely to go
> into contrib instead of perhaps going into xmonad-extras

Hey, Adam. Yeah, I noticed your Config.Alt after I sent that email (and
started doing some archaeology on xmonad). That's definitely more
ambitious than mine. I admit I'm not so good with the type-hackery so I
wouldn't have dared try that. My ultimate goal is something that could
one day become the defult xmonad config syntax (after I win hearts and
minds in contrib). I may still try to use NoImplicitPrelude and
type-variadic monadishes -- I'd love to get rid of the code generation.

> In principle there is an objection to template haskell (and fclabels
> which requires it), since there are supposedly some situations where
> you can get a ghc but no ghci which I recall is required for template
> haskell to run. But maybe that isn't a big deal anymore.

Some situations? As in some platforms that don't carry TH because of a
dependence on some ghci code?

Since fclabels is a fairly new package (and template-haskell possibly
not universally available?), it might also make sense to delay
submission until after the 1.0 release *ahem*, to make it easier for the
Linux distros.

You are magnetic in your bearing.
Lucky Numbers  22, 35, 44, 2, 18, 39

                Xiang-nian ni  想念您

More information about the xmonad mailing list