Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
haddock
Commits
30e32d5e
Commit
30e32d5e
authored
22 years ago
by
ross
Browse files
Options
Downloads
Patches
Plain Diff
[haddock @ 2003-01-16 15:07:57 by ross]
Adjust for the new exception libraries (as well as the old ones).
parent
12d02619
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Binary.hs
+1
-1
1 addition, 1 deletion
src/Binary.hs
with
1 addition
and
1 deletion
src/Binary.hs
+
1
−
1
View file @
30e32d5e
...
...
@@ -269,7 +269,7 @@ getWord8 (BinMem _ ix_r sz_r0 arr_r0) = do
ix
<-
readFastMutInt
ix_r
sz
<-
readFastMutInt
sz_r0
when
(
ix
>=
sz
)
$
th
ro
w
(
mkIOError
eofErrorType
"Data.Binary.getWord8"
Nothing
Nothing
)
ioEr
ro
r
(
mkIOError
eofErrorType
"Data.Binary.getWord8"
Nothing
Nothing
)
arr
<-
readIORef
arr_r0
w
<-
unsafeRead
arr
ix
writeFastMutInt
ix_r
(
ix
+
1
)
...
...
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