codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

OPTIONS Pragma Deprecated #549

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ad.mason...@gmail.com on 20 Jun 2013 at 12:47