esqueleto
yxdb-utils
Our great sponsors
esqueleto | yxdb-utils | |
---|---|---|
5 | 0 | |
177 | 12 | |
0.0% | - | |
0.0 | 0.0 | |
over 7 years ago | over 8 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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.
esqueleto
-
Revisiting Haskell after 10 years
Writing Haskell programs that rely on third-party packages is still an issue when it’s a not actively maintained package. They get out of date with the base library (Haskell’s standard library), and you might see yourself in a situation where you need to downgrade to an older version. This is not exclusive to Haskell, but it happens more often than I’d like to assume. However, if you only rely on known well-maintained libraries/frameworks such as Aeson, Squeleto, Yesod, and Parsec, to name a few, it’s unlikely you will face troubles at all, you just need to be more mindful of what you add as a dependency. There’s stackage.org now, a repository that works with Stack, providing a set of packages that are proven to work well together and help us to have reproducible builds in a more manageable way—not the solution for all the cases but it’s good to have it as an option.
-
What databases do you find the most productive to connect to Haskell?
Postgresql-simple is a great library, it makes a nice use of overloaded strings to do the job. Some other nice libraries to keep an eye on are opaleye (postgres specific, which is equally nice but could be a bit difficult to get why the types are so big) and a combination of persistent (not DB specific! can work on postgres, sqlite, but also noSQL DBs like mongo, it's still easy to learn but you lose some things, such as joins due to the power of being agnostic) + esqueleto for type safe joins (be sure to look up the experimental package, it's a more comfortable syntax that will soon become the default one).
-
Go performance from version 1.2 to 1.18
In Haskell: https://hackage.haskell.org/package/esqueleto
Either it analyzes the given SQL to determine the in/out types of each SQL query, or it calls the database describe feature at compile-time.
yxdb-utils
We haven't tracked posts mentioning yxdb-utils yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
opaleye
sqlite-simple - Mid-level bindings for sqlite
selda - A type-safe, high-level SQL library for Haskell
beam - A type-safe, non-TH Haskell SQL library and ORM
postgresql-simple-migration - PostgreSQL Schema Migrations for Haskell
groundhog - This library maps datatypes to a relational model, in a way similar to what ORM libraries do in OOP. See the tutorial https://www.schoolofhaskell.com/user/lykahb/groundhog for introduction
hocilib - A lightweight Haskell binding to the OCILIB C API
eventful-dynamodb - Event Sourcing library for Haskell
HDBC-odbc - ODBC driver for HDBC
mysql-haskell - Pure haskell mysql driver
mysql-simple - A mid-level client library for the MySQL database, intended to be fast and easy to use.