require icon indicating copy to clipboard operation
require copied to clipboard

Food for thought: another import alternative

Open chreekat opened this issue 7 years ago • 1 comments

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.

chreekat avatar May 24 '18 14:05 chreekat

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 :smile:

NickSeagull avatar May 24 '18 15:05 NickSeagull