brandonchinn178 / brandonchinn178/github-rest
Add helper for (:=) monomorphized to Text
Open
good first issue
- Dominant language
- Haskell
- Stars
- 14
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
`:=` is polymorphic for any `ToJSON a`, which is annoying for defining `Text` with string literals:
```haskell
"owner" := ("my-org" :: Text)
```
Maybe add a helper
```haskell
(:=*) :: Text -> Text -> ...
(:=*) = (:=)
```
for setting the type of RHS to Text?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.