diff options
author | Don Stewart <dons@galois.com> | 2008-03-03 19:50:02 +0000 |
---|---|---|
committer | Don Stewart <dons@galois.com> | 2008-03-03 19:50:02 +0000 |
commit | 0f41ab5a49581583ee76f33eb4a85c5c25cce819 (patch) | |
tree | 9b78b5a09923658bf05fb0a7990d8d8861267ef6 /libraries/base/Prelude.hs | |
parent | ed725c0e96b362924bfc6bb5ab83538f14124025 (diff) | |
download | haskell-0f41ab5a49581583ee76f33eb4a85c5c25cce819.tar.gz |
untabify
Diffstat (limited to 'libraries/base/Prelude.hs')
-rw-r--r-- | libraries/base/Prelude.hs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libraries/base/Prelude.hs b/libraries/base/Prelude.hs index 840c2ca5b9..d6ed1132de 100644 --- a/libraries/base/Prelude.hs +++ b/libraries/base/Prelude.hs @@ -36,16 +36,16 @@ module Prelude ( fst, snd, curry, uncurry, #if defined(__NHC__) - []((:), []), -- Not legal Haskell 98; - -- ... available through built-in syntax - module Data.Tuple, -- Includes tuple types - ()(..), -- Not legal Haskell 98 - (->), -- ... available through built-in syntax + []((:), []), -- Not legal Haskell 98; + -- ... available through built-in syntax + module Data.Tuple, -- Includes tuple types + ()(..), -- Not legal Haskell 98 + (->), -- ... available through built-in syntax #endif #ifdef __HUGS__ - (:), -- Not legal Haskell 98 + (:), -- Not legal Haskell 98 #endif - + -- ** Basic type classes Eq((==), (/=)), Ord(compare, (<), (<=), (>=), (>), max, min), @@ -72,7 +72,7 @@ module Prelude ( isInfinite, isDenormalized, isIEEE, isNegativeZero, atan2), -- *** Numeric functions - subtract, even, odd, gcd, lcm, (^), (^^), + subtract, even, odd, gcd, lcm, (^), (^^), fromIntegral, realToFrac, -- ** Monads and functors @@ -87,7 +87,7 @@ module Prelude ( -- * List operations map, (++), filter, - head, last, tail, init, null, length, (!!), + head, last, tail, init, null, length, (!!), reverse, -- ** Reducing lists (folds) foldl, foldl1, foldr, foldr1, @@ -119,8 +119,8 @@ module Prelude ( -- ** Converting from @String@ ReadS, Read(readsPrec, readList), - reads, readParen, read, lex, - + reads, readParen, read, lex, + -- * Basic Input and output IO, -- ** Simple I\/O operations |