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
text
Commits
d31b70e3
Commit
d31b70e3
authored
Dec 30, 2013
by
bos
Browse files
Fix test suite build with GHC 7.0.x
parent
200a2cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Tests/QuickCheckUtils.hs
View file @
d31b70e3
...
...
@@ -63,6 +63,12 @@ instance Arbitrary I16 where
instance
Arbitrary
B
.
ByteString
where
arbitrary
=
B
.
pack
`
fmap
`
arbitrary
#
if
!
MIN_VERSION_base
(
4
,
4
,
0
)
instance
Random
Word8
where
randomR
=
integralRandomR
random
=
randomR
(
minBound
,
maxBound
)
#
endif
genUnicode
::
IsString
a
=>
Gen
a
genUnicode
=
fmap
fromString
string
where
string
=
sized
$
\
n
->
...
...
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