{-# LANGUAGE Trustworthy #-} {-# LANGUAGE CPP, NoImplicitPrelude, FlexibleInstances #-} ----------------------------------------------------------------------------- -- | -- Module : Data.String -- Copyright : (c) The University of Glasgow 2007 -- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : libraries@haskell.org -- Stability : experimental -- Portability : portable -- -- The @String@ type and associated operations. -- ----------------------------------------------------------------------------- module Data.String ( String , IsString(..) -- * Functions on strings , lines , words , unlines , unwords ) where #ifdef __GLASGOW_HASKELL__ import GHC.Base #endif import Data.List (lines, words, unlines, unwords) -- | Class for string-like datastructures; used by the overloaded string -- extension (-foverloaded-strings in GHC). class IsString a where fromString :: String -> a #ifndef __NHC__ instance IsString [Char] where fromString xs = xs #endif
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4