X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FPtr.lhs;h=bf78f713bd04105f6264e53ce6b73af745431fc9;hb=be2750a0a11b919fb03cc070074e430f88bdfa90;hp=6e57e2bf8043038c799dfb91cb05c3b123470859;hpb=612dcf12050326c7b8a58e702fc6f0107d764d98;p=ghc-base.git diff --git a/GHC/Ptr.lhs b/GHC/Ptr.lhs index 6e57e2b..bf78f71 100644 --- a/GHC/Ptr.lhs +++ b/GHC/Ptr.lhs @@ -1,6 +1,7 @@ \begin{code} -{-# OPTIONS_GHC -XNoImplicitPrelude #-} +{-# LANGUAGE CPP, NoImplicitPrelude, MagicHash #-} {-# OPTIONS_HADDOCK hide #-} + ----------------------------------------------------------------------------- -- | -- Module : GHC.Ptr @@ -87,7 +88,7 @@ data FunPtr a = FunPtr Addr# deriving (Eq, Ord) -- using @newtype@. -- -- * the return type is either a marshallable foreign type or has the form --- @'Prelude.IO' t@ where @t@ is a marshallable foreign type or @()@. +-- @'IO' t@ where @t@ is a marshallable foreign type or @()@. -- -- A value of type @'FunPtr' a@ may be a pointer to a foreign function, -- either returned by another foreign function or imported with a