Skip to content

Commit

Permalink
Remove some unnecessary SOURCE imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Lynagh committed Jun 2, 2013
1 parent 4b0addb commit 5fe76f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
6 changes: 1 addition & 5 deletions Data/OldTypeable.hs
Expand Up @@ -100,11 +100,7 @@ import GHC.Base
import GHC.Err (undefined)

import GHC.Fingerprint.Type
import {-# SOURCE #-} GHC.Fingerprint
-- loop: GHC.Fingerprint -> Foreign.Ptr -> Data.Typeable
-- Better to break the loop here, because we want non-SOURCE imports
-- of Data.Typeable as much as possible so we can optimise the derived
-- instances.
import GHC.Fingerprint

#endif

Expand Down
10 changes: 0 additions & 10 deletions Data/OldTypeable.hs-boot

This file was deleted.

6 changes: 1 addition & 5 deletions Data/OldTypeable/Internal.hs
Expand Up @@ -75,11 +75,7 @@ import GHC.Arr ( Array, STArray )
import Data.Int

import GHC.Fingerprint.Type
import {-# SOURCE #-} GHC.Fingerprint
-- loop: GHC.Fingerprint -> Foreign.Ptr -> Data.Typeable
-- Better to break the loop here, because we want non-SOURCE imports
-- of Data.Typeable as much as possible so we can optimise the derived
-- instances.
import GHC.Fingerprint

-- | A concrete representation of a (monomorphic) type. 'TypeRep'
-- supports reasonably efficient equality.
Expand Down

0 comments on commit 5fe76f3

Please sign in to comment.