haskell/bytestring — pull request #4 by dterei (2013-07-15 22:18:51+00:00)
Title: Add trustworthy pragmas to various safe builder modules.

This adds the correct Safe Haskell pragmas to the new builder modules of ByteString and also marks a few internal modules as explicitly unsafe since they expose access to ByteStrings constructor or various Builder constructor routines. Unrestricted access to these would easily allow breaking the ByteString invariants and so break its safety.