Permalink
Browse files

Add Data.String to the nhc98 build

  • Loading branch information...
Malcolm.Wallace@me.com
Malcolm.Wallace@me.com committed Feb 11, 2011
1 parent aa32241 commit 9c38b9d56bdf213d3964a1a6ac5b9957da0362cf
Showing with 3 additions and 2 deletions.
  1. +2 −1 Data/String.hs
  2. +1 −1 Makefile.nhc98
View
@@ -36,6 +36,7 @@ import Data.List (lines, words, unlines, unwords)
class IsString a where
fromString :: String -> a
+#ifndef __NHC__
instance IsString [Char] where
fromString xs = xs
-
+#endif
View
@@ -17,7 +17,7 @@ SRCS = \
Data/Ix.hs Data/List.hs Data/Maybe.hs \
Data/Ratio.hs Data/Tuple.hs Data/Word.hs \
Data/HashTable.hs Data/Typeable.hs Data/Dynamic.hs \
- Data/Monoid.hs \
+ Data/Monoid.hs Data/String.hs \
Data/Eq.hs Data/Ord.hs Data/Fixed.hs \
Data/Functor.hs Data/Foldable.hs Data/Traversable.hs \
Data/Function.hs \

0 comments on commit 9c38b9d

Please sign in to comment.