[Haskell-cafe] A quick poll about GHC's -with-rtsopts flag
travis at anduril.com
Thu Apr 30 22:26:26 UTC 2020
The current (i.e. clobbering) behavior seems like the right choice to me,
for what it's worth.
On Thu, Apr 30, 2020 at 11:12 AM Viktor Dukhovni <ietf-dane at dukhovni.org>
> On Thu, Apr 30, 2020 at 04:21:47PM +0200, Merijn Verstraaten wrote:
> > 1) Aware that multiple invocations of -with-rtsopts clobber each other,
> > 2) Actually relies on this behaviour?
> Haven't thought about it, but this may makes sense, when configuring
> options in more than one file, e.g. foo.cabal, and stack.yaml, and
> whichever precedence, should probably be definitive. Likely cumulative
> behaviour would be more surprising.
> [ Based on the assumption that GHC options in stack.yaml are in addition
> to the component-specific options in the cabal file. ]
> The name is plural, so takes all the options at once. There could be
> new options to incrementally modify the list of rtsopts:
> assuming there's a sensible way to accumulate these.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe