[web-devel] safety of Data.Ascii.unsafeFromString
michael at snoyman.com
Thu Jun 9 13:07:58 CEST 2011
You don't even get a runtime exception: your results are silently
broken. It's no worse than Data.ByteString.Char8.pack.
But the ascii package isn't really being used going forward, people
didn't like the extra noise it added to their code.
On Thu, Jun 9, 2011 at 2:04 PM, Max Cantor <mxcantor at gmail.com> wrote:
> just how unsafe are the unsafeXXX functions in Data.Ascii? IS it just that you might get a runtime exception or could they do some more serious damage somehow?
> web-devel mailing list
> web-devel at haskell.org
More information about the web-devel