Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support scoped packages #27

Open
jtojnar opened this issue Nov 1, 2020 · 0 comments
Open

Support scoped packages #27

jtojnar opened this issue Nov 1, 2020 · 0 comments

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Nov 1, 2020

npm supports so-called scoped packages, whose name has the following form: @somescope/somepackagename. They are used all over the modern NPM ecosystem, most notably by the Babel transpiler. I tried implementing it but unfortunately, it does not seem to be expressible in Servant’s types at the moment.

There is an issue about adding more powerful types to Servant: haskell-servant/servant#962 but I doubt it will be resolved soon.

Would you accept a pull request replacing servant with some less type safe but more flexible library (e.g. scotty)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant