[commit: packages/binary] master: Back to safety! (b34aff8)

git at git.haskell.org git at git.haskell.org
Sat Feb 4 21:17:54 UTC 2017


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

On branch  : master
Link       : http://git.haskell.org/packages/binary.git/commitdiff/b34aff825f7be10002743f60090b26b96b12d141

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

commit b34aff825f7be10002743f60090b26b96b12d141
Author: Daniel Díaz <dhelta.diaz at gmail.com>
Date:   Wed Jun 1 10:20:33 2016 -0400

    Back to safety!


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

b34aff825f7be10002743f60090b26b96b12d141
 src/Data/Binary/FloatCast.hs | 1 +
 src/Data/Binary/Put.hs       | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Data/Binary/FloatCast.hs b/src/Data/Binary/FloatCast.hs
index 65f876e..2eb86f0 100644
--- a/src/Data/Binary/FloatCast.hs
+++ b/src/Data/Binary/FloatCast.hs
@@ -1,5 +1,6 @@
 
 {-# LANGUAGE FlexibleContexts #-}
+{-# LANGUAGE Trustworthy #-}
 
 -- | This module was written based on
 --   <http://hackage.haskell.org/package/reinterpret-cast-0.1.0/docs/src/Data-ReinterpretCast-Internal-ImplArray.html>.
diff --git a/src/Data/Binary/Put.hs b/src/Data/Binary/Put.hs
index c403e17..de18ab0 100644
--- a/src/Data/Binary/Put.hs
+++ b/src/Data/Binary/Put.hs
@@ -1,7 +1,6 @@
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE FlexibleInstances #-}
--- {-# LANGUAGE Safe #-}
-{-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE Safe #-}
 
 #if MIN_VERSION_base(4,9,0)
 #define HAS_SEMIGROUP



More information about the ghc-commits mailing list