Jan Hrcek

Results 103 comments of Jan Hrcek

Or just show a `Type :? for help` like purs repl does and hide some help behind that. Long repeated messages can be annoying for advanced users as I learned...

I'm turning this back to draft, because @michaelpj pointed out that ignoring GeneratedInfo in HieAST could lead to some issue down the line (where we ignore something that shouldn't be...

Yes, I’m pretty sure I saw it today with hls built from master, using ghc 9.4.8 On Tue 16. 1. 2024 at 18:55, Michael Peyton Jones ***@***.***> wrote: > Is...

I think this is already supported by [cabal-fmt-0.12.1](https://hackage.haskell.org/package/cabal-fmt-0.1.12) so this PR can be closed.

I think it would be very useful. There are bunch of places in hls which would benefit from this and I believe using ready-made helper from text-rope would improve correctness...

That's good to know. You just got yourself a star :smile:

You could also consider using https://package.elm-lang.org/packages/turboMaCk/non-empty-list-alias/latest/ which uses `(a, List a)` to represent nonempty list and just adds functions for working with that type.

I feel that nowadays people are using unliftio or similar "lifter IO" lib to catch exceptions, which already makes it possible to catch exceptions thrown by this library relatively easily....

Ok. I'll look into this in some more details hopefully this week.

I can look into this over the weekend. In the meantime can you share your idea about what would be the format(s) that should be accepted by the parser? Also...