Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b3456767
Commit
b3456767
authored
Mar 04, 2016
by
Herbert Valerio Riedel
🕺
Browse files
drop redundant constraint
parent
fc00e33c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/tests/UnitTests/Distribution/System.hs
View file @
b3456767
...
...
@@ -9,7 +9,7 @@ import Distribution.System
import
Test.Tasty
import
Test.Tasty.QuickCheck
textRoundtrip
::
(
Arbitrary
a
,
Show
a
,
Eq
a
,
Text
a
)
=>
a
->
Property
textRoundtrip
::
(
Show
a
,
Eq
a
,
Text
a
)
=>
a
->
Property
textRoundtrip
x
=
simpleParse
(
display
x
)
===
Just
x
tests
::
[
TestTree
]
...
...
@@ -26,4 +26,4 @@ instance Arbitrary Arch where
arbitrary
=
elements
knownArches
instance
Arbitrary
Platform
where
arbitrary
=
liftM2
Platform
arbitrary
arbitrary
\ No newline at end of file
arbitrary
=
liftM2
Platform
arbitrary
arbitrary
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment