Pranay Sashank

Results 40 comments of Pranay Sashank
trafficstars

`Restart Extension Host` restarts all extensions this interrupts workflows like using Github codespaces or using vscode liveshare. We frequently use `Restart Haskell LSP Server` in liveshare when the server gets...

I added a test for this custom main_function usage, and I am getting strange errors. This is how I am running the test ``` bazel test //tests/haskell_module/binary-custom-main:Test ``` and I'm...

If we change to always require a fully qualified main_function, do we try to get a module name for usages like this https://github.com/tweag/rules_haskell/pull/1740/files#diff-500f449c248c36e74ead8385c8dd2b98bb9244e21fafd0be214b0eb927c99abbR157 or is it okay to just pass...

> if main_file is present, we're not building with haskell_modules where do you see that assumption?

BTW, in my project where I needed to use this, this fix does work. It's only in the test case above that it doesn't

> I think it would be fair to just document this and say "if you're building with modules, you must write the fully qualified name of the main function in...

> But tbh I'm not seeing the benefit of using main_file/main_module when you can already fully qualify main_function, at least in the cases I'm thinking of. Perhaps there are some...

When I downgrade to `rules_docker-0.22.0`, it's working. So the issue is likely caused by the breaking change mentioned here https://github.com/bazelbuild/rules_docker/releases/tag/v0.23.0 and this issue should probably be moved to `rules_nixpkgs`

Is this only for functions that inspect their elements. I mean with the old type signature of `concatMapWith` is there an equivalent example?