Tyson Williams

Results 386 comments of Tyson Williams

I should be more specific. Here is a test that fails because `Random.map` "causes" a stack overflow (even when compiled in `RELEASE` mode). ```fsharp [] let ``map does not overflow...

There is something subtle that I don't understand yet between left and right function composition. This test using right composition fails even when compiled in `RELEASE` mode. ```fsharp [] let...

There is a difference between `f >> acc` and `acc >> f`, where `acc` is the accumulation of many function compositions. The first is reminiscent of `List.cons` (the constant-time operation...

> Maybe a [John Hughes difference list](https://blog.ploeh.dk/2015/12/22/tail-recurse/#36ebbcd8edf1428cbd8894cccbdb1fb5:~:text=This%20implementation%20of%20map%20uses%20this,a%20difference%20list%2C%20without%20explaining%20why.) could be used to reverse the order of the function composition and thus avoid the stack overflow _without any calls to `box` or...

I was able to simplify. Now there is only one function (like the code in `master` instead of three like in my previous comment) and there is exactly one call...

There have been great improvements to `Random` lately including PRs #266 and #276. The last one in the queue is PR #290. After that PR is completed, I will create...

Ok, I will try. Let's do PR #314 first.

> Ideally, we'd change the `Gen string`. I am not convinced that this is the right approach. My first impression is that we should make a change like that to...

> If you use VS, download the "F# Formatting" extension which enables formatting in F# files using Fantomas with the settings from `.editorconfig` (or as configured in the plugin settings,...

(For the those of you that got the email, the first build failure was my fault. I had a compile error because some projects were unloaded.) The current build error...