Permalink
Browse files

hugs support

  • Loading branch information...
1 parent 01603ac commit a050fbffc07d83ce338c6874c90cf3696028e780 @ekmett committed Apr 9, 2012
Showing with 4 additions and 8 deletions.
  1. +4 −8 semigroups.cabal
View
@@ -20,16 +20,15 @@ source-repository head
type: git
location: git://github.com/ekmett/semigroups.git
-flag DeriveDataTypeable
- description: DeriveDataTypeable available
- default: True
- manual: False
-
flag base2
default: False
manual: False
library
+ if !impl(hugs)
+ extensions: DeriveDataTypeable
+ cpp-options: -DLANGUAGE_DeriveDataTypeable
+
if flag(base2)
build-depends: base == 2.*
else
@@ -39,9 +38,6 @@ library
ghc-options: -Wall
extensions: CPP
- if flag(DeriveDataTypeable)
- extensions: DeriveDataTypeable
- cpp-options: -DLANGUAGE_DeriveDataTypeable
exposed-modules:
Data.Semigroup

0 comments on commit a050fbf

Please sign in to comment.