Issue 394 in xmonad: XMonad.Actions.GroupNavigation depends on ghc-6.12

Status: New Owner: ---- New issue 394 by curolan.zebeth: XMonad.Actions.GroupNavigation depends on ghc-6.12 http://code.google.com/p/xmonad/issues/detail?id=394 What steps will reproduce the problem? 1. have ghc-6.10.2 2. update darcs 3. compile XMonad.Actions.GroupNavigation, Seq.filter not in scope Seq.filter is new in Data.Sequence from containers-0.3, which depends on
=base-4.2, which is apparently ghc-6.12.
There should be at least a containers-0.3 dependency in the cabal file, and preferrably a version of the code that doesn't require a compiler upgrade.

Comment #1 on issue 394 by curolan.zebeth: XMonad.Actions.GroupNavigation depends on ghc-6.12 http://code.google.com/p/xmonad/issues/detail?id=394 Sorry for this comment, but I can't see where I'm supposed to add tags to this report (or how to edit my report). This is an xmonad-contrib issue.

Updates: Status: Patch Labels: Priority-Critical Type-Defect Component-Contrib Comment #2 on issue 394 by vogt.adam: XMonad.Actions.GroupNavigation depends on ghc-6.12 http://code.google.com/p/xmonad/issues/detail?id=394 Somehow we didn't reach a conclusion as to the best way to address this: http://www.haskell.org/pipermail/xmonad/2010-May/010208.html Attached is a patch that fixes this, but it would be nice to avoid CPP, and avoid reimplementing functions in containers-0.3 Attachments: use-cabal_s-cpp-macros-to-restore-containers_0_2-compatiblity_.dpatch 40.5 KB

Updates: Status: Fixed Comment #3 on issue 394 by vogt.adam: XMonad.Actions.GroupNavigation depends on ghc-6.12 http://code.google.com/p/xmonad/issues/detail?id=394 Fixed by: Sat May 15 00:21:53 CEST 2010 Norbert Zeh * X.A.GroupNavigation with containers < 0.3.0.0 compatibility This patch replaces the use of Seq.filter and Seq.breakl with two functions flt and brkl that do the same. This is necessary to keep compatibility with containers < 0.3.0.0 because Seq.filter and Seq.breakl were introduced only in containers 0.3.0.0.
participants (1)
-
codesite-noreply@google.com