Commits

Tony Morris committed f9f6b21

bytestring

  • Participants
  • Parent commits 8586f93

Comments (0)

Files changed (2)

File Data/Semigroup.hs

 import qualified Data.Map as M
 import qualified Data.IntSet as IS
 import qualified Data.IntMap as IM
+import qualified Data.ByteString as B
 import Control.Monad.Identity
 import Control.Applicative
 
 instance Semigroup (IM.IntMap v) where
   (.++.) = mappend
 
+instance Semigroup B.ByteString where
+  (.++.) = mappend
+

File Semigroup.cabal

   Description:       Choose the new, split-up base package.
 
 Library
-  Build-Depends:     base < 5 && >= 3, mtl, containers
+  Build-Depends:     base < 5 && >= 3, mtl, containers, bytestring
 
   GHC-Options:       -Wall
   Exposed-Modules:   Data.Semigroup