Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary
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
Daniel Rogozin
binary
Commits
909db4cd
Commit
909db4cd
authored
6 years ago
by
Oleg Grenrus
Browse files
Options
Downloads
Patches
Plain Diff
Use base-orphans, update .travis.yml and tested-with
parent
600f1532
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+4
-4
4 additions, 4 deletions
.travis.yml
binary.cabal
+2
-1
2 additions, 1 deletion
binary.cabal
tests/QC.hs
+3
-4
3 additions, 4 deletions
tests/QC.hs
with
9 additions
and
9 deletions
.travis.yml
+
4
−
4
View file @
909db4cd
...
...
@@ -18,10 +18,10 @@ matrix:
addons
:
{
apt
:
{
packages
:
[
cabal-install-1.24
,
ghc-8.0.2
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=1.24 GHCVER=8.2.2
addons
:
{
apt
:
{
packages
:
[
cabal-install-1.24
,
ghc-8.2.2
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=1.24 GHCVER=8.4.
3
addons
:
{
apt
:
{
packages
:
[
cabal-install-1.24
,
ghc-8.4.
3
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=2.4 GHCVER=8.6.
1
addons
:
{
apt
:
{
packages
:
[
cabal-install-2.4
,
ghc-8.6.
1
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=1.24 GHCVER=8.4.
4
addons
:
{
apt
:
{
packages
:
[
cabal-install-1.24
,
ghc-8.4.
4
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=2.4 GHCVER=8.6.
5
addons
:
{
apt
:
{
packages
:
[
cabal-install-2.4
,
ghc-8.6.
5
],
sources
:
[
hvr-ghc
]}}
-
env
:
CABALVER=head GHCVER=head
addons
:
{
apt
:
{
packages
:
[
cabal-install-head
,
ghc-head
],
sources
:
[
hvr-ghc
]}}
...
...
This diff is collapsed.
Click to expand it.
binary.cabal
+
2
−
1
View file @
909db4cd
...
...
@@ -18,7 +18,7 @@ category: Data, Parsing
stability: provisional
build-type: Simple
cabal-version: >= 1.8
tested-with: GHC ==
7.4.2, GHC ==
7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2
, GHC ==8.2.2, GHC == 8.4.4, GHC == 8.6.5
extra-source-files:
README.md changelog.md docs/hcar/binary-Lb.tex tools/derive/*.hs
...
...
@@ -76,6 +76,7 @@ test-suite qc
Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
base-orphans >=0.8.1 && <0.9,
bytestring >= 0.10.4,
random>=1.0.1.0,
test-framework,
...
...
This diff is collapsed.
Click to expand it.
tests/QC.hs
+
3
−
4
View file @
909db4cd
...
...
@@ -24,6 +24,8 @@ import Data.Ratio
import
Data.Typeable
import
System.IO.Unsafe
import
Data.Orphans
()
#
ifdef
HAS_NATURAL
import
Numeric.Natural
#
endif
...
...
@@ -43,6 +45,7 @@ import Data.Binary.Get
import
Data.Binary.Put
import
qualified
Data.Binary.Class
as
Class
------------------------------------------------------------------------
roundTrip
::
(
Eq
a
,
Binary
a
)
=>
a
->
(
L
.
ByteString
->
L
.
ByteString
)
->
Bool
...
...
@@ -499,10 +502,6 @@ genNaturalBig = do
genFingerprint
::
Gen
Fingerprint
genFingerprint
=
liftM2
Fingerprint
arbitrary
arbitrary
#
if
!
MIN_VERSION_base
(
4
,
7
,
0
)
instance
Show
Fingerprint
where
show
(
Fingerprint
x1
x2
)
=
show
(
x1
,
x2
)
#
endif
------------------------------------------------------------------------
...
...
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