Starting a project that depends on a module with a custom Prelude: mixins, cabal, and yesod-bin

This page summarizes the projects mentioned and recommended in the original post on /r/haskellquestions

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. haskell-language-server

    Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.

    This works like a charm, but now I run into issues with IDE integration: mixins are currently only supported for Cabal, as per this issue. So I change my hie.yaml to cradle: cabal: instead of cradle: stack:, but Cabal won't build because the private module is not on hackage.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. yesod-persistent

    A RESTful Haskell web framework built on WAI.

    The project is going to make use of Warp. To smoothen the development process I set up yesod-bin according to their template for non-yesod projects. This worked fine initially, giving me hot reloading on file changes, but after adding the private package as described above it's giving the following error:

  4. stack

    The Haskell Tool Stack (by commercialhaskell)

    I don't know if this is related to your case, but stack has some problems with cabal mixins. You may try using alternative methods to add a custom prelude (via base-noprelude or NoImplicitPrelude) and see how it goes.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ask HN: Popular open source tool originally written in Haskell?

    3 projects | news.ycombinator.com | 10 Feb 2024
  • It's 2023, so of course I'm learning Common Lisp

    11 projects | news.ycombinator.com | 26 Jul 2023
  • Help, i get this error when executing the command "xmonad"

    1 project | /r/xmonad | 1 Jun 2023
  • (UNDER DEVELOPMENT) Zenith is a powerful Python framework that revolutionizes web development by enabling declarative and efficient UI components for building interactive and scalable websites.

    2 projects | /r/Python | 31 May 2023
  • HLS 2.0.0.0 is out

    2 projects | /r/haskell | 19 May 2023