from Hacker News

Show HN: IHP v1.0 – Batteries-included web framework built on Haskell and Nix

by _query on 10/24/22, 4:00 PM with 39 comments

  • by montmorency88 on 10/24/22, 5:38 PM

    IHP is already used in production for a number of commercial projects, but I'd also highly recommend the framework for anyone interested in just learning and hacking away with haskell. The IHP IDE is a great playground and you are automatically set up with a postgres db, ghc, hls, etc. So a lot of the configuration barrier is removed and you can just start writing Haskell and experimenting with some of the cool libraries on hackage.
  • by jalino23 on 10/24/22, 6:07 PM

    I guess its time to learn myself a haskell for great good!
  • by _query on 10/24/22, 6:08 PM

    Really happy we've finally got to the 1.0 status :) If you like to take a look at the code, check our GitHub at https://github.com/digitallyinduced/ihp
  • by desireco42 on 10/24/22, 6:20 PM

    Wow, just started watching video, this is really nice. The integrated environment, db and everything makes it super easy to get started. I guess you made it so you just have no excuses to try this out.

    Big thank you for developers.

  • by njaremko on 10/24/22, 4:27 PM

    It looks like Docker support is still a paid feature? That's disappointing. I had written a blog post outlining how important docker support was and explaining how little work it was to get working, and at the time the maintainers agreed it should be a free feature, but it seems they've changed their minds.
  • by xrd on 10/24/22, 5:58 PM

    Is this something I can play with despite zero knowledge of Haskell?
  • by njrc9 on 10/24/22, 4:28 PM

    One of the nice features of IHP is that, thanks to Haskell’s strict type checking, it does not just eliminate bugs, it also speeds up development. E.g. if you want to change or build a new feature, you don’t need to write tests for it since the compiler basically does that for you. Since you don’t need to write tests, your work is perhaps half of what it would be normally – and neither do you have to know how to write good tests, which is an entire skill in itself.
  • by mgomez on 10/24/22, 6:53 PM

    I've been meaning to pick up either Haskell or OCaml for my next language. On the OCaml side, I see Cornell's free CS 3110 textbook recommended around here. Is there something similar on the Haskell side?
  • by ilrwbwrkhv on 10/25/22, 7:33 AM

    Why is the editor integration and autocomplete still so poor? Shouldn't strong types help with that?
  • by tobias2014 on 10/25/22, 7:57 PM

    How does this compare with Yesod?