projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b1a91caafc41bf5c4e59fbc9dbc1ab4d6cd24b04
[ghc-hetmet.git]
/
ghc
/
lib
/
prelude
/
TyComplex.hs
1
module PreludeComplex ( Complex(..) ) where
2
3
-- infix 6 :+
4
5
data {- (RealFloat a) => -} Complex a = a :+ a deriving () -- (Eq,{-ToDo:Binary,-}Text)
6
7
-- (NB: compiler's builtin idea of "data Complex ..." must also
8
-- omit the context!)
9
10
-- {-# SPECIALIZE data Complex Double# #-}