agentm / agentm/project-m36

Add Haskell types which map statically to tuples

Open
#80 5 comments 3 reactions 1 assignee Claimed by @agentm View on GitHub
Dominant language
Haskell
Stars
952
Forks
50
PR merge metrics
No merged PRs in 30d

Description

As a sort of ORM-lite, it would be handy to be able to push lots of db client type errors to compile time from run time. A good example of how to accomplish this is via https://github.com/Gabriel439/Haskell-Bears-Library.

However, the approach there makes several assumptions about the relational algebra which do not necessarily hold. For example, all relvars have exactly one key; this the deprecated notion of a "primary" key.

Some Template Haskell may be involved here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.