Skip to content

Commit

Permalink
Move Unbox and UVector to ModularPrelude.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanBurton committed Aug 12, 2012
1 parent 5c56d18 commit afce6e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion ModularPrelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
module ModularPrelude
( module X
, LHashMap
, UVector
) where

import BasicPrelude as X
import Data.Default as X

import Data.Vector.Unboxed as X (Unbox)

import qualified Data.HashMap.Lazy
type LHashMap = Data.HashMap.Lazy.HashMap
import qualified Data.Vector.Unboxed

type LHashMap = Data.HashMap.Lazy.HashMap
type UVector = Data.Vector.Unboxed.Vector
4 changes: 0 additions & 4 deletions ModularPrelude/UVector.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ module ModularPrelude.UVector


import ModularPrelude
import Data.Vector.Unboxed (Unbox)
import qualified Data.Vector.Unboxed as UV

-- TODO: move this to BasicPrelude
type UVector = UV.Vector


data UVectorModule = UVector
{ map :: forall a b. (Unbox a, Unbox b)
Expand Down

0 comments on commit afce6e8

Please sign in to comment.