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:
46fd14f
)
[project @ 1997-08-25 21:49:52 by sof]
author
sof
<unknown>
Mon, 25 Aug 1997 21:49:52 +0000
(21:49 +0000)
committer
sof
<unknown>
Mon, 25 Aug 1997 21:49:52 +0000
(21:49 +0000)
rename unpackCString2# to unpackNBytes#
ghc/compiler/prelude/PrelVals.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/prelude/PrelVals.lhs
b/ghc/compiler/prelude/PrelVals.lhs
index
2095524
..
6af3ca2
100644
(file)
--- a/
ghc/compiler/prelude/PrelVals.lhs
+++ b/
ghc/compiler/prelude/PrelVals.lhs
@@
-163,7
+163,7
@@
unpackCStringId
-- but I don't like wired-in IdInfos (WDP)
unpackCString2Id -- for cases when a string has a NUL in it
- = pcMiscPrelId unpackCString2IdKey pACKED_STRING SLIT("unpackCString2#")
+ = pcMiscPrelId unpackCString2IdKey pACKED_STRING SLIT("unpackNBytes#")
(mkFunTys [addrPrimTy{-a char *-}, intPrimTy{-length-}] stringTy)
noIdInfo