fused-effects / fused-effects

A fast, flexible, fused effect system for Haskell
BSD 3-Clause "New" or "Revised" License
642 stars 53 forks source link

Use standard cabal cradle in hie.yaml. #425

Closed patrickt closed 2 years ago

patrickt commented 2 years ago

Since last we used this, hie got much better at multi-component projects, so there's no reason to use ghci-flags in here. This fixes my local dev experience when hacking on the test suites.

robrix commented 2 years ago

Two comments (circling back from out of band convo):

  1. can we scope benchmarks to the dir instead of the one file?
  2. can we ditch the ghci-flags-dependencies file? (But not ghci-flags as that’s used in the REPL script.)
ocharles commented 2 years ago

Have you tried just removing hie.yaml entirely and letting HLS figure it out? IME the implicit cradle works great.

robrix commented 2 years ago

@ocharles Nope. I’m not a huge fan of inferring configs, tho, as it widens the surface area for havoc and I hate debugging tooling 😅