Browse files

Actually fix compatibility for options.applicative.

  • Loading branch information...
1 parent ecdf35b commit 92e9fdac77dd87bbc09513ff3b9841b9f2f00fc9 @colah committed Jan 5, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 extopenscad.hs
@@ -20,7 +20,10 @@ import Text.ParserCombinators.Parsec (errorPos, sourceLine)
import Text.ParserCombinators.Parsec.Error
import Data.IORef (writeIORef)
import Data.AffineSpace
-import Options.Applicative hiding ((<>))
+import Control.Applicative
+-- The following is needed to ensure backwards/forwards compatibility
+-- make sure we don't import (<>) in new versions.
+import Options.Applicative (fullDesc, progDesc, header, info, helper, help, str, argument, switch, value, long, short, option, metavar, nullOption, reader, execParser, (&), Parser)
import System.FilePath
-- Backwards compatibility with old versions of Data.Monoid:

0 comments on commit 92e9fda

Please sign in to comment.