Show HN: IHP, a batteries-included web framework built on Haskell and Nix
Important bit missing from the title: this is using Haskell (and Nix).<p>IHP is supposed to become the Django/Rails/Phoenix of Haskell.<p>I've been using Django professionally for since 2013, but have started using IHP a couple of weeks ago. It's still quite early but with surprisingly few rough edges, i.e. the developer ergonomics are much better than I expected. It has great documentation that is improving rapidly (as opposed to many other Haskell libraries, which provide little more than API docs or even just the typed function definitions) and offers a refreshing take on database management and migrations.<p>Some of its killer features:<p>- HSX, a JSX-like template language that looks like HTML while providing type safety<p>- Auto live reloading without the need to setup anything<p>- Documentation with examples: it lets you query the database without learning about monads<p>- it defines |> for you ;-)<p>- type-safe, composable SQL queries:<p><pre><code>  projects <- query @Project
    |> filterWhere (#userId, userId)
    |> filterWhere (#deleted, False)
    |> orderBy #createdAt
    |> fetch</code></pre>