[xmonad] Config File Format

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu May 15 01:43:38 EDT 2008


On 2008 May 15, at 1:20, Gwern Branwen wrote:

>> main = xmonad $ defaultConfig
>>    <:> modMask <=> mod4Mask
>>    <:> terminal <=> "urxvt"
>>    <:> layout <+> simpleTabbed
>>    <:> layoutHook <+> smartBorders
>
> For example, why do we have all these repeated <:>? If monads are  
> 'programmable semicolons', surely we could get rid of them. :)

As discussed on haskell-cafe yesterday, there are limits to how far  
you can abuse monads (set by the necessity of type agreement).

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the xmonad mailing list