Lennart Spitzner
Lennart Spitzner
There are two technical hurdles for such a feature: Firstly, there is an invariant for the `docSeq`/`BDSeq` part of the brittany DSL which assumes that we don't have multi-line nodes...
I agree with @eborden that such a setting should also affect other kinds of parentheses, for consistency. With that, it is not a counterargument any more. @chreekat what is the...
example haskell source is ~~~~.hs type A = B + C ~~~~ I guess this is support for `-XTypeOperators`, although it seems to be parsed without that enabled.
hah, thanks for the report. Lets see.. ~~~~ BDLines [ BDCols ColBindingLine Nothing [ BDCols ColPatterns [BDCols ColPatterns [BDSeq [BDLit (pack "[]"),BDSeparator,BDSeparator]]] , BDSeq [BDLit (pack "->"),BDSeparator,BDLit (pack "_")] ]...
I realized this is a tiny bit more involved than I had anticipated, because `layoutPat` really needs to also return the intended `ColSig`. And while at that, I noticed that...
Sorry that I have not given any feedback yet, and thanks for starting on this feature. First I got sidetracked by refactoring around butcher/czipwith/barbies/commandline-/config-parsing and today I started restructuring the...
I think both functionalities are in a way supported already: ~~~~.hs -- brittany --exactprint-only stuff = 42 ~~~~ ~~~~.hs -- brittany --indent 4 stuff = do pure 42 otherstuff =...
@asheshambasta what other patterns would you want to have excluded? I am asking because type-signature overhaul is planned anyway, so if that is the central pain point, I'd rather focus...
We definitely need some xpath-equivalent on the haskell syntax tree. :D
(I'll read this is as another vote for working on #109, too.)