Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zubin
head.hackage
Commits
57c5c7d6
Commit
57c5c7d6
authored
4 years ago
by
Ryan Scott
Browse files
Options
Downloads
Patches
Plain Diff
Patch bits-0.5.3
parent
818787fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/bits-0.5.3.patch
+33
-0
33 additions, 0 deletions
patches/bits-0.5.3.patch
with
33 additions
and
0 deletions
patches/bits-0.5.3.patch
0 → 100644
+
33
−
0
View file @
57c5c7d6
diff --git a/src/Data/Bits/Coded.hs b/src/Data/Bits/Coded.hs
index 340fc2a..0cfb092 100644
--- a/src/Data/Bits/Coded.hs
+++ b/src/Data/Bits/Coded.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE ScopedTypeVariables #-}
--------------------------------------------------------------------
@@ -19,6 +20,9 @@
module Data.Bits.Coded
) where
import Data.Bits
+#if MIN_VERSION_base(4,16,0)
+ hiding (oneBits)
+#endif
import Data.Bits.Coding
import Data.Bits.Extras
import Data.Bytes.Get
diff --git a/src/Data/Bits/Extras.hs b/src/Data/Bits/Extras.hs
index b779e26..f6d295c 100644
--- a/src/Data/Bits/Extras.hs
+++ b/src/Data/Bits/Extras.hs
@@ -32,6 +32,9 @@
module Data.Bits.Extras
) where
import Data.Bits
+#if MIN_VERSION_base(4,16,0)
+ hiding (oneBits)
+#endif
import Data.Int
import Data.Word
import Foreign.Ptr
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment