X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Foreign%2FStorable.hs;h=700a4ff5eeb9587e567a38302688a40e53cd0fcb;hb=be2750a0a11b919fb03cc070074e430f88bdfa90;hp=f77ffff6c42de2140a69b0ef23cc93a7b10d1ca0;hpb=fc6c3c6e5a508b74bed8559c2e4ff6bf74b9ae92;p=ghc-base.git diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs index f77ffff..700a4ff 100644 --- a/Foreign/Storable.hs +++ b/Foreign/Storable.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# LANGUAGE CPP, NoImplicitPrelude, ScopedTypeVariables #-} + ----------------------------------------------------------------------------- -- | -- Module : Foreign.Storable @@ -42,13 +43,12 @@ import Control.Monad ( liftM ) #ifdef __GLASGOW_HASKELL__ import GHC.Storable import GHC.Stable ( StablePtr ) +import GHC.IO() -- Instance Monad IO import GHC.Num import GHC.Int import GHC.Word import GHC.Ptr -import GHC.Float import GHC.Err -import GHC.IOBase import GHC.Base #else import Data.Int