1 {-# OPTIONS_GHC -XNoImplicitPrelude #-}
2 -----------------------------------------------------------------------------
4 -- Module : Data.String
5 -- Copyright : (c) The University of Glasgow 2007
6 -- License : BSD-style (see the file libraries/base/LICENSE)
8 -- Maintainer : libraries@haskell.org
9 -- Stability : experimental
10 -- Portability : portable
12 -- Things related to the String type.
14 -----------------------------------------------------------------------------
21 #ifdef __GLASGOW_HASKELL__
25 -- | Class for string-like datastructures; used by the overloaded string
26 -- extension (-foverloaded-strings in GHC).
27 class IsString a where
28 fromString :: String -> a
30 instance IsString [Char] where