Lennart Spitzner
Lennart Spitzner
Firstly I should perhaps ask if it is correct that my code example effectively contains use-after-free? I am relatively new to rust, so it is far more likely that I...
Sorry, my initial description was not very clear. There are two questions/issues. One is #5, and a safe string implementation is a special case of that. The other is the...
That's all fair, but as long as such high-level interface is not implemented, please properly document the low-level interface.
as the error comes from $HOME/.stack, you might have to clean _that_ and not just the project's stack folder. Which can be annoying if you delete the whole `HOME/.stack`, but...
The new items in the brittany API are so far only on a feature branch, as I was hoping on confirmation that the new API works for this. With some...
> due to the ExactPrint.Anns parameter which I could not obtain. Ah yeah, I feared that would be the case. I'd have to start digging into HIE source too to...
> Should we extract the AST nodes ourselves and pass this only to pPrintModule? Or would that feature not work in combination with this API? The simple answer is: Yeah,...
For the last point, consider ~~~~.hs abc = 13 -- some comment def = print True -- final comment ~~~~ if you'd give brittany the whole module, but "please only...
And in the end, HIE would need to figure out what part of the textual buffer to replace, too. Feels a bit like the proper return value is a diff/patch....
@fendor One small follow-up question: Would it make sense to implement the "format just this function" functionality in the following manner: pass the whole module, together with a restriction "only...