Commit 57143851 authored by Mathieu Boespflug's avatar Mathieu Boespflug
Browse files

Declare a few modules as Safe rather than Trustworthy.

This silences a GHC 7.10 warning that indicates that these modules are
marked trustworthy when in fact they don't need to, since they are safe.
parent 7524d870
{-# LANGUAGE CPP, FlexibleContexts #-}
#if __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE Safe #-}
#endif
#ifdef GENERICS
{-# LANGUAGE DefaultSignatures #-}
......@@ -41,12 +41,13 @@ module Data.Binary.Class (
) where
import Data.Word
import Data.Bits
import Data.Int
import Data.Binary.Put
import Data.Binary.Get
import Control.Monad
import Foreign
import Data.ByteString.Lazy (ByteString)
import qualified Data.ByteString.Lazy as L
......
{-# LANGUAGE BangPatterns, CPP, FlexibleInstances, KindSignatures,
ScopedTypeVariables, Trustworthy, TypeOperators, TypeSynonymInstances #-}
ScopedTypeVariables, Safe, TypeOperators, TypeSynonymInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE Safe #-}
#endif
-----------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment