
15 May
2008
15 May
'08
5:43 a.m.
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@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH