summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci008.stdout
blob: 0f9c93a4a9f747684fbf6ac78e81392327aa5318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class Num a where
  (+) :: a -> a -> a
  ...
  	-- Defined in ‘GHC.Num’
infixl 6 +
class Num a where
  (+) :: a -> a -> a
  ...
  	-- Defined in ‘GHC.Num’
infixl 6 +
data Complex a = !a :+ !a 	-- Defined in ‘Data.Complex’
infix 6 :+
data Complex a = !a :+ !a 	-- Defined in ‘Data.Complex’
infix 6 :+
class (RealFrac a, Floating a) => RealFloat a where
  floatRadix :: a -> Integer
  floatDigits :: a -> Int
  floatRange :: a -> (Int, Int)
  decodeFloat :: a -> (Integer, Int)
  encodeFloat :: Integer -> Int -> a
  exponent :: a -> Int
  significand :: a -> a
  scaleFloat :: Int -> a -> a
  isNaN :: a -> Bool
  isInfinite :: a -> Bool
  isDenormalized :: a -> Bool
  isNegativeZero :: a -> Bool
  isIEEE :: a -> Bool
  atan2 :: a -> a -> a
  	-- Defined in ‘GHC.Float’
instance RealFloat Float -- Defined in ‘GHC.Float’
instance RealFloat Double -- Defined in ‘GHC.Float’
isPrefixOf :: Eq a => [a] -> [a] -> Bool
  	-- Defined in ‘base-4.8.1.0:Data.OldList’