Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Data.String to the nhc98 build

  • Loading branch information...
commit 9c38b9d56bdf213d3964a1a6ac5b9957da0362cf 1 parent aa32241
Malcolm.Wallace@me.com authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  Data/String.hs
  2. +1 −1  Makefile.nhc98
View
3  Data/String.hs
@@ -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
2  Makefile.nhc98
@@ -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 \
Please sign in to comment.
Something went wrong with that request. Please try again.