[xmonad] darcs patch: DynamicBars-use-ExtensibleState
gopsychonauts at gmail.com
gopsychonauts at gmail.com
Tue Jun 18 09:50:55 CEST 2013
1 patch for repository http://code.haskell.org/XMonadContrib:
Tue Jun 18 17:47:55 EST 2013 gopsychonauts at gmail.com
* DynamicBars-use-ExtensibleState
Hooks.DynamicBars was previously using an MVar and the unsafePerformIO hack (
http://www.haskell.org/haskellwiki/Top_level_mutable_state ) to store bar
state. Since ExtensibleState exists to solve these sorts of problems, I've
switched the file over to use unsafePerformIO instead.
Some functions' types had to be changed to allow access to XState, but the
public API is unchanged.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 4419 bytes
Desc: Patch preview
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130618/17abab13/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-darcs-patch
Size: 12087 bytes
Desc: A darcs patch for your repository!
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130618/17abab13/attachment-0001.bin>
More information about the xmonad
mailing list