Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
bb214739
Commit
bb214739
authored
Jul 02, 2006
by
Don Stewart
Browse files
Add model-based tests for ByteString.Lazy<=>ByteString<=>Data.list
parent
69c82de7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/lib/Data.ByteString/bytestring001.hs
View file @
bb214739
This diff is collapsed.
Click to expand it.
testsuite/tests/ghc-regress/lib/Data.ByteString/bytestring001.stdout
View file @
bb214739
This diff is collapsed.
Click to expand it.
testsuite/tests/ghc-regress/lib/Data.ByteString/bytestring003.hs
View file @
bb214739
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
import
System.IO
import
System.IO
import
qualified
Data.ByteString
as
B
import
qualified
Data.ByteString
as
B
import
Data.ByteString
(
ByteString
,
unsafeTail
,
unsafeIndex
)
import
Data.ByteString
.Base
(
ByteString
,
unsafeTail
,
unsafeIndex
)
import
Data.Char
-- seems to help!
import
Data.Char
-- seems to help!
#
define
STRICT2
(
f
)
f
a
b
|
a
`
seq
`
b
`
seq
`
False
=
undefined
#
define
STRICT2
(
f
)
f
a
b
|
a
`
seq
`
b
`
seq
`
False
=
undefined
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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