[commit: packages/haskeline] master: Use cast from Data.Typeable instead of Data.Dynamic (#53) (39168d2)

git at git.haskell.org git at git.haskell.org
Thu Feb 2 19:06:49 UTC 2017


Repository : ssh://git@git.haskell.org/haskeline

On branch  : master
Link       : http://git.haskell.org/packages/haskeline.git/commitdiff/39168d2feaebb0c16b8415727283a031afc7c721

>---------------------------------------------------------------

commit 39168d2feaebb0c16b8415727283a031afc7c721
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Feb 2 07:13:10 2017 +0000

    Use cast from Data.Typeable instead of Data.Dynamic (#53)


>---------------------------------------------------------------

39168d2feaebb0c16b8415727283a031afc7c721
 System/Console/Haskeline/Backend/Posix.hsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Console/Haskeline/Backend/Posix.hsc b/System/Console/Haskeline/Backend/Posix.hsc
index 0ceb144..ec76a98 100644
--- a/System/Console/Haskeline/Backend/Posix.hsc
+++ b/System/Console/Haskeline/Backend/Posix.hsc
@@ -34,7 +34,7 @@ import System.Console.Haskeline.Prefs
 import System.Console.Haskeline.Backend.Posix.Encoder
 
 import GHC.IO.FD (fdFD)
-import Data.Dynamic (cast)
+import Data.Typeable (cast)
 import System.IO.Error
 import GHC.IO.Exception
 import GHC.IO.Handle.Types hiding (getState)



More information about the ghc-commits mailing list