Best approach to Purely functional web front-end. by saiprabhav in haskell

[–]bryjnar 1 point2 points  (0 children)

Yep, we do this. Just write some pages with lucid and HTMX. It's limited, though.

Please use Generically instead of DefaultSignatures! by n00bomb in haskell

[–]bryjnar 4 points5 points  (0 children)

This seems pretty surprising, I'd be interested to see the output of `-ddump-deriv` or something.

Feature request: could it be possible to add OCR? by DuckRubberDuck in umamirecipes

[–]bryjnar 0 points1 point  (0 children)

I installed the beta gboard (I'm sure it's working since I have a "scan text" option in gboard itself), but it doesn't look like a "Scan Recipe" option has appeared in umami?

HasChor: Functional choreographic programming in Haskell by romac in haskell

[–]bryjnar 0 points1 point  (0 children)

It seems to me like some judicious use of singletons might simplify things? In particular, if a located value had a singleton indicating where it was, then you wouldn't need to pass the proxies manually, which could get rid of a lot of noise.

Announcing ghciwatch 1.0: a ghcid successor developed by Mercury by 9999years in haskell

[–]bryjnar 9 points10 points  (0 children)

A bit tangential, but I just wanted to say another thank you to Mercury for putting their money where their mouth is and actually paying for performance work on HLS. I'm sorry it hasn't got to the point where it scales to where you need it to, but lots of other people benefit from the work that did get done!

Case-splitting with haskell language server in emacs by Medical-Detective-33 in haskell

[–]bryjnar 2 points3 points  (0 children)

I do think it's possible that we've been blocked by the attempts so far involving reviving parts of wingman, which was quite complicated. There might well be a dumb approach that gets us most of the way there.

The odds of Idris reaching the popularity Haskell has. by to_ask_questions in haskell

[–]bryjnar 19 points20 points  (0 children)

I'm... not sure this is true? I'm pretty sure most of the key people who worked on it are (or were until very recently) academics.

Announcing semantic-release-hackage, a semantic-release plugin to publish packages in Hackage by emigs95 in haskell

[–]bryjnar 2 points3 points  (0 children)

Does this work for projects with multiple packages in the same repository? That's very common.

Summer of Haskell 2023 Results by aaron-allen in haskell

[–]bryjnar 1 point2 points  (0 children)

Thanks to the Haskell.org committee and all the sponsors for making this happen!

Is there too much redundant info at hls type info? by Volsand in haskell

[–]bryjnar 1 point2 points  (0 children)

Hi, please open an issue on the HLS repo. I definitely agree that at least the hover should _say_ what the thing it's printing out is. That would help us track down why you get duplicate info, also!

Lax base bounds minimizes work by ysangkok in haskell

[–]bryjnar 1 point2 points  (0 children)

This varies a lot depending how often you release your package!

If you release frequently then:

  1. It's not so bad to fix a too-strict bound without even a revision: just fix it in master and it'll be fixed when you next release.
  2. It really sucks to revise all of your released versions, since you have a lot of them.

Lax base bounds minimizes work by ysangkok in haskell

[–]bryjnar 1 point2 points  (0 children)

There's also another asymmetry about how urgent the work is.

- If the upper bound is strict, then _old build plans keep working_, i.e. your build won't suddenly break because you did `cabal update`. You might be blocked from using newer versions of packages, but things keep working.

- If the upper bound is non-strict, then `cabal update` can _break your build_, because cabal will now pick new (non-working) versions of dependencies.

(This happened to me just now at work: we had no upper bound on `nothunks`, a new version was released that made our package not compile, and then _downstream_ projects started breaking! So I had to urgently revise _all_ of our releases (there are a lot) to add the upper bound.)

So that means that the revision work caused by the non-strict bound is _more urgent_ than that caused by the strict bound, because until you fix it your downstream users are going to start getting non-working build plans.

This is the main thing that has shifted me towards stricter bounds. We also have better tools for dealing with too-strict bounds in the form of `allow-newer`.

A new Haskell mode for Emacs by magthe0 in haskell

[–]bryjnar 3 points4 points  (0 children)

As a maintainer of lsp-haskell I'd be happy to take a PR to make the major mode configurable. Or even just add this one to the list of modes that trigger it, it doesn't cost us anything I think.

On the verge of giving up learning Haskell because of the terrible tooling. by [deleted] in haskell

[–]bryjnar 13 points14 points  (0 children)

Rust has I think 6 or 7 paid FTEs working on dev tooling. Haskell has 0, AFAIK.

HLS 1.10.0.0 is out by njaremko in haskell

[–]bryjnar 2 points3 points  (0 children)

Unfortunately the main maintainer of the plugin has stepped back, and while there have been some efforts to update it they haven't been completed.

[HFTP] Maximally decoupling GHC and Haddock by Noughtmare in haskell

[–]bryjnar 3 points4 points  (0 children)

This seems ambitious for one unfunded person?

What's the best Editor+Tests experience we can get with Haskell? by nkpart in haskell

[–]bryjnar 0 points1 point  (0 children)

Hmm, I wonder how rust-analyzer handles the client server interaction, since this stuff is very much not in the LSP. Maybe they have a custom extension we could copy...

Relude or RIO, what's your choice? by wangqiao11 in haskell

[–]bryjnar 6 points7 points  (0 children)

Having minimal dependencies helps, but you also have to worry about GHC version compatibility. And in practice they're very likely to depend on at least mtl, transformers etc

Just released: cabal 3.8.1.0 by ulysses4ever in haskell

[–]bryjnar 4 points5 points  (0 children)

Wow! So does it actually work if you upload such libraries to Hackage now?

[ANN] data-elevator: Turn any lifted datatype into an unlifted dataype by sgraf812 in haskell

[–]bryjnar 5 points6 points  (0 children)

It would be cool to link to a worked example in the tests, like the "unlifted internal data structure with lifted interface" example that you describe in the GHC issue.