Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
fbf45eff
Commit
fbf45eff
authored
Sep 03, 1997
by
sof
Browse files
[project @ 1997-09-03 23:51:06 by sof]
unpackCStringBA# arguments swapped
parent
d95b51ec
Changes
1
Show whitespace changes
Inline
Side-by-side
ghc/compiler/utils/FastString.lhs
View file @
fbf45eff
...
@@ -137,7 +137,7 @@ unpackFS :: FastString -> String
...
@@ -137,7 +137,7 @@ unpackFS :: FastString -> String
#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 205
#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 205
unpackFS (FastString _ l# ba#) = byteArrayToString (_ByteArray (0,I# l#) ba#)
unpackFS (FastString _ l# ba#) = byteArrayToString (_ByteArray (0,I# l#) ba#)
#else
#else
unpackFS (FastString _ l# ba#) = unpackCStringBA#
l# ba
#
unpackFS (FastString _ l# ba#) = unpackCStringBA#
ba# l
#
#endif
#endif
unpackFS (CharStr addr len#) =
unpackFS (CharStr addr len#) =
unpack 0#
unpack 0#
...
...
Write
Preview
Markdown
is supported
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