[Haskell-cafe] Lazy ST test code

David Feuer david.feuer at gmail.com
Tue Jan 31 05:48:11 UTC 2017


Thanks! I'll include these in my proposed additions to the GHC test suite,
with your permission (releasing them under GHC's license terms).

On Jan 30, 2017 2:28 PM, "Albert Y. C. Lai" <trebla at vex.net> wrote:

> On 2017-01-29 02:22 AM, David Feuer wrote:
>
>> I've come up with what might be a fix for a major thread safety bug in
>> lazy ST. Fixing it involved making multiple non-trivial changes to a
>> number of basic functions. Unfortunately, the GHC test suite barely
>> touches lazy ST. Does anyone out there have some code that uses lazy ST
>> in interesting ways but that only relies on the libraries that ship with
>> GHC?
>>
>
> I don't normally use lazy ST, but I have some toy examples at
> http://lpaste.net/63925 . You may like the fact that I got strictToLazyST
> involved.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170131/287603d0/attachment.html>


More information about the Haskell-Cafe mailing list