projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-10-03 13:56:12 by panne]
[ghc-base.git]
/
Data
/
Dynamic.hs
diff --git
a/Data/Dynamic.hs
b/Data/Dynamic.hs
index
bf83db5
..
275e318
100644
(file)
--- a/
Data/Dynamic.hs
+++ b/
Data/Dynamic.hs
@@
-28,6
+28,10
@@
module Data.Dynamic
fromDyn, -- :: Typeable a => Dynamic -> a -> a
fromDynamic, -- :: Typeable a => Dynamic -> Maybe a
fromDyn, -- :: Typeable a => Dynamic -> a -> a
fromDynamic, -- :: Typeable a => Dynamic -> Maybe a
+ -- * Applying functions of dynamic type
+ dynApply,
+ dynApp,
+
-- * Concrete Type Representations
-- | This section is useful if you need to define your own
-- * Concrete Type Representations
-- | This section is useful if you need to define your own
@@
-74,6
+78,12
@@
import GHC.Float
import GHC.IOBase
#endif
import GHC.IOBase
#endif
+#ifdef __HUGS__
+import Hugs.IO
+import Hugs.IORef
+import Hugs.IOExts
+#endif
+
#ifdef __GLASGOW_HASKELL__
unsafeCoerce :: a -> b
unsafeCoerce = unsafeCoerce#
#ifdef __GLASGOW_HASKELL__
unsafeCoerce :: a -> b
unsafeCoerce = unsafeCoerce#