projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62b44e
)
[project @ 1998-08-11 19:25:12 by sof]
author
sof
<unknown>
Tue, 11 Aug 1998 19:25:12 +0000
(19:25 +0000)
committer
sof
<unknown>
Tue, 11 Aug 1998 19:25:12 +0000
(19:25 +0000)
unpackNBytesPS glitchlet
ghc/lib/misc/PackedString.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/misc/PackedString.lhs
b/ghc/lib/misc/PackedString.lhs
index
4bb3520
..
752891a
100644
(file)
--- a/
ghc/lib/misc/PackedString.lhs
+++ b/
ghc/lib/misc/PackedString.lhs
@@
-374,7
+374,7
@@
unpackNBytesPS ps len@(I# l#)
CPS a len# -> unpackPS (CPS a (min# len# l#))
where
min# x# y#
- | x# ># y# = x#
+ | x# <# y# = x#
| otherwise = y#
unpackPSIO :: PackedString -> IO String