Chris Martin

Results 93 comments of Chris Martin

It seems like `--pure` maybe should also prevent accessing file paths that are outside of some designated root directory.

Perhaps then should `Data.Text.Lazy.toStrict` have a warning on it, or perhaps even be deprecated, for the same reason? Or does the principle that lazy text ought to be used directly,...

Two opportunities I think this function affords: 1. It is a good place to attach documentation. If you search Hoogle for `Builder -> Text`, this function can come up, and...

I also just noticed that the size parameter used by `sample` is 30 - Is there a particular reason for that?

Ah. That makes sense. I always thought size was an underdocumented concept in quickcheck. Does it make sense to make this explicit and have the `Size` type constrain its value...

I just noticed that `int64` on an exponential range produces very bad results for sizes 100 and up. ``` λ> bounds 100 (exponentialBounded :: Range Int64) (-9223372036854775808,-9223372036854775808) λ> sample (resize...

> this looks weird It is weird because when I wrote the code for exponential ranges, I didn't consider sizes above 99 at all. My understanding was that size 100...

I don't mind not having a `once` function in hedgehog, but if it doesn't I think the `withTests` documentation should discuss this use case to make the solution more discoverable...

It would be nice to have a note in the docs for `dconf.settings` mentioning that this option is known to not work -- I just spent a while trying to...

I can't think of a situation where I'd want it to pick anything other than `shell.nix`, but I could be wrong - I haven't been developing in Nix very long....