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

Food for thought: another import alternative #3

Open
chreekat opened this issue May 24, 2018 · 1 comment
Open

Food for thought: another import alternative #3

chreekat opened this issue May 24, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@chreekat
Copy link

Many moons ago, some proposal or other came up for better imports. I agree it would be nice to have a better syntax, and I like the idea here. :) I had time to think about it back then, and I wrote down my thoughts here: https://github.com/chreekat/blatherings/blob/master/haskell-imports.md#alternate-proposal-2

In case 'require' ends up needing the full power of 'import' (which wouldn't surprise me), maybe the description at that link can spark ideas.

@NickSeagull
Copy link
Contributor

Great, thanks! The idea behind require is to be as simple as possible, so you dont need that much stuff as a regular import.

But you are probably right, maybe having requires and imports in the same file would look strange.

This is food for thought indeed 😄

@NickSeagull NickSeagull added the enhancement New feature or request label May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants