[project @ 1997-08-25 21:49:52 by sof]
authorsof <unknown>
Mon, 25 Aug 1997 21:49:52 +0000 (21:49 +0000)
committersof <unknown>
Mon, 25 Aug 1997 21:49:52 +0000 (21:49 +0000)
rename unpackCString2# to unpackNBytes#

ghc/compiler/prelude/PrelVals.lhs

index 2095524..6af3ca2 100644 (file)
@@ -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