[xmonad] patches to use data-default

adam vogt vogt.adam at gmail.com
Wed May 29 16:09:46 CEST 2013


On Wed, May 29, 2013 at 6:45 AM, Carlos López Camey <c.lopez at kmels.net> wrote:
> Hello Daniel, I like this on xmonad-contrib. I would suggest the name
> `default` instead of `def` though.
>
> What do you think about having Default instances for states? e.g. for XState
> and/or XPState.
> They would be considered to be the initial state of course.

Hi Carlos,

The reason data-default uses def is probably because default is a
keyword in haskell. What's your expected use for a default XState?
Those couldn't be the real initial state in most cases, since they
depend on the corresponding defaultConfig / defaultXPConfig.

--
Adam



More information about the xmonad mailing list