
Hi, I was wondering what haskell version we should keep in mind when programming? For example, the language pragma PatternGuards is still used in the code although pattern guards are included in the Haskell 2010 standard. Do I need to strive for backwards compatibility and in how far can we use recent language extensions? Best regards, Willem Van Lint

Hi Willem,
I think the official policy is to support GHC 6.8 and onwards -- but
according to the README, xmonad supports GHC all the way back to 6.6.
I doubt anyone has tried building on such an old GHC in a while, but
if you want a rule of thumb: the extensions you use should be no more
than what's supported by 6.6. I'm not sure about the policy for
xmonad-contrib, but it's probably similar.
~d
Quoting Willem Van Lint
Hi,
I was wondering what haskell version we should keep in mind when programming? For example, the language pragma PatternGuards is still used in the code although pattern guards are included in the Haskell 2010 standard. Do I need to strive for backwards compatibility and in how far can we use recent language extensions?
Best regards,
Willem Van Lint

On 11 August 2011 11:21,
Hi Willem,
I think the official policy is to support GHC 6.8 and onwards -- but according to the README, xmonad supports GHC all the way back to 6.6. I doubt anyone has tried building on such an old GHC in a while, but if you want a rule of thumb: the extensions you use should be no more than what's supported by 6.6. I'm not sure about the policy for xmonad-contrib, but it's probably similar.
I think this was to support an old version of GHC that was in a LTS release of Ubuntu; is that version (of Ubuntu) still supported? I wonder whether it makes sense to at least assume base >= 4 nowadays. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (3)
-
Ivan Lazar Miljenovic
-
wagnerdm@seas.upenn.edu
-
Willem Van Lint