fused-effects
hasql-th
Our great sponsors
fused-effects | hasql-th | |
---|---|---|
3 | 4 | |
633 | 110 | |
0.2% | - | |
4.5 | 5.2 | |
about 1 month ago | 4 months ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fused-effects
-
Where's more discussion of the designs of effect systems?
Languages such as Koka only support algebraic effects, not scoping operations such as catch and listen. The Effect Handlers in Scope paper introduces scoping operations, which lead to the Haskell libraries fused-effects and polysemy, but they turned out to have some weird semantics. eff is her effort to fix that.
- Haskell doesn't make sense without pure functions
- Monthly Hask Anything (June 2021)
hasql-th
-
How to use PostgreSQL with Haskell: hasql
Hasql is an ecosystem of libraries. To keep it simple, let’s limit ourselves to core hasql, hasql-transaction, and hasql-th. We’re using hasql 1.6.3.2 published in 2023.
-
Parsing SQL
unexpected '&'
https://github.com/nikita-volkov/hasql-th#error-example-1
-
Open Source SQL Parsers
There is also a Haskell port of the original PostgreSQL parser, implemented using megaparsec, which makes it highly flexible and hackable: https://github.com/nikita-volkov/hasql-th#implementation
-
Haskell doesn't make sense without pure functions
I'd consider hasql-th a good example in what concerns databases. Otherwise, I just use aeson together with deriving-aeson and lens-aeson.
What are some alternatives?
polysemy - :gemini: higher-order, no-boilerplate monads
Neks - A dead simple networked key/value store
eveff - Efficient Haskell effect handlers based on evidence translation.
tokyocabinet-haskell - This repository will get archived soon. Please visit https://git.singpolyma.net/tokyocabinet-haskell
eff - 🚧 a work in progress effect system for Haskell 🚧
hasql - The fastest PostgreSQL libpq-based driver for Haskell
freer-simple - A friendly effect system for Haskell
wai-middleware-cache-redis - Redis backend for wai-middleware-cache
control-monad-free - Free monads and monad transformers
ampersand - Build database applications faster than anyone else, and keep your data pollution free as a bonus.
control-monad-exception - Explicitly Typed exceptions as a library
hasql-notifications - Use PostgreSQL LISTEN/NOTIFY with your Hasql Types