-----------------------------------------------------------------------------
---
+-- |
-- Module : Data.Complex
-- Copyright : (c) The University of Glasgow 2001
--- License : BSD-style (see the file libraries/core/LICENSE)
+-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : libraries@haskell.org
-- Stability : provisional
-- Portability : portable
--
--- $Id: Complex.hs,v 1.2 2001/12/21 15:07:21 simonmar Exp $
---
-- Complex numbers.
--
-----------------------------------------------------------------------------
import Prelude
+#ifndef __NHC__
import Data.Dynamic
+#endif
infix 6 :+
-- -----------------------------------------------------------------------------
-- Instances of Complex
+#ifndef __NHC__
#include "Dynamic.h"
INSTANCE_TYPEABLE1(Complex,complexTc,"Complex")
+#endif
instance (RealFloat a) => Num (Complex a) where
{-# SPECIALISE instance Num (Complex Float) #-}