[xmonad] Issue 549 in xmonad: OPTIONS Pragma Deprecated

codesite-noreply at google.com codesite-noreply at google.com
Thu Jun 20 02:47:09 CEST 2013


Status: New
Owner: ----

New issue 549 by ad.mason... at gmail.com: OPTIONS Pragma Deprecated
http://code.google.com/p/xmonad/issues/detail?id=549

The following files contain the deprecated OPTIONS pragma:
xmonad/XMonad/Config.hs
xmonad/tests/Properties.hs
XMonadContrib/XMonad/Config/Bluetile.hs

According to Section 7.18.2. OPTIONS_GHC pragma in the latest GHC  
documentation, OPTIONS_GHC should be used in place of OPTIONS   
(http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html).

This issue was found in the latest (as of today) development darcs repo for  
xmonad and XMonadContrib.

The following script was used to discover the used OPTIONS pragma in named  
files, using the find and grep utilities in FreeBSD 9.1:
find ./ -type f -exec egrep -q "^{-# OPTIONS .*#-}$" {} \; -print

I am a beginner Haskell programmer and Xmonad user so I have not yet been  
able to check whether the latest ghc ignores the OPTIONS pragma.



-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



More information about the xmonad mailing list