[Xmonad] darcs patch: switch WorkspaceId to String.
isaacdupree at charter.net
Mon Aug 20 14:47:45 EDT 2007
Andrea Rossato wrote:
> On Mon, Aug 20, 2007 at 04:44:47AM -0700, David Roundy wrote:
>> workspaces :: [WorkspaceId]
>> -workspaces = [0..8]
>> +workspaces = map (:"") ['1'..'9']
> I find this a bit scary for someone new to Haskell, considered it is
> in the Config file. Anyway I'd suggest (:), still very scary, but
> probably more helpful to my ideal newcomer who's getting started with
map show [1..9]
, which actually kind of works for extension to numbers greater than 9?
or add unnecessary parentheses if it seems clearer:
map (show) [1..9]
More information about the Xmonad