Ppr: compute length of string literals at compile time (#19266)
1 unresolved thread
1 unresolved thread
Compare changes
+ 10
− 1
@@ -6,6 +6,7 @@
@@ -425,6 +426,7 @@ lower-level `sharedCAF` mechanism that relies on Globals.c.
@@ -653,6 +655,7 @@ data PtrString = PtrString !(Ptr Word8) !Int
@@ -688,8 +691,14 @@ lengthPS (PtrString _ n) = n