Comment

Comment by whateveracct

In this vein, I've been focused on finding/creating tooling at the same level of abstraction as Go (net/http, database/sql + sqlx, etc) but in Haskell. So it ends up being a bit more ergonomic for a variety of reasons.

scotty (-> net/http), aeson (-> encoding/json), and postgresql-simple (-> database/sql) are pretty close, although aeson & postgresql-simple need some tooling on top to get them on par w/Go struct tag reflection imo.

I still love to use more advanced Haskell libraries, but there's something to be said for stitching together functions in IO with simple types.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton