bitemyapp / bitemyapp/esqueleto
Add a constructor for null values to the 'ToMaybe' type class
Open
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
I think it'd be great if `just` and `nothing` worked for any `ToMaybe a => a`. We already have `just ≡ toMaybe @(SqlExpr (Value a))`, but no analogous for `nothing` exists in `ToMaybe`. This enhanced version of `ToMaybe` would enable us to inject null entities for example.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.