Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm-hs-pure: work with bytestring 0.11.x #389

Open
wants to merge 1 commit into
base: llvm-12
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm-hs-pure/llvm-hs-pure.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library
build-depends:
base >= 4.9 && < 5,
attoparsec >= 0.13,
bytestring >= 0.10 && < 0.11,
bytestring >= 0.10 && < 0.12,
fail,
transformers >= 0.3 && < 0.6,
mtl >= 2.1,
Expand Down
3 changes: 2 additions & 1 deletion llvm-hs-pure/src/LLVM/IRBuilder/Module.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import Control.Monad.Fail (MonadFail)
#endif

import Data.Bifunctor
import Data.ByteString.Short as BS
import qualified Data.ByteString.Short as BS
import Data.ByteString.Short (ShortByteString)
import Data.Char
import Data.Data
import Data.Foldable
Expand Down
2 changes: 1 addition & 1 deletion llvm-hs-pure/src/LLVM/Triple.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Control.Monad.Trans.Except
import Data.Attoparsec.ByteString
import Data.Attoparsec.ByteString.Char8
import Data.ByteString.Char8 as ByteString hiding (map, foldr)
import Data.ByteString.Short hiding (pack)
import Data.ByteString.Short (toShort, fromShort)

import Data.Map (Map, (!))
import qualified Data.Map as Map
Expand Down