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

Mention std/enumerate by name #16239

Closed
wants to merge 1 commit into from
Closed

Mention std/enumerate by name #16239

wants to merge 1 commit into from

Conversation

omentic
Copy link
Contributor

@omentic omentic commented Dec 3, 2020

Certainly on me, but I couldn't figure out how to import this module. Also conforms to what other std modules do.

Certainly on me, but I couldn't figure out how to import this module. Also conforms to what [other std modules](https://nim-lang.org/docs/monotimes.html) do.
@ghost
Copy link

ghost commented Dec 3, 2020

Well, I feel like this is a bit of a "workaround" since std is not exclusive to the enumerate module only, std can be used for any stdlib modules.

@timotheecour
Copy link
Member

timotheecour commented Dec 3, 2020

this is not the 1st time this comes up, the fix is instead:

make this flag also suggest when a module import is misspellt, including things like import exitprocs instead of import std/exitprocs

@omentic
Copy link
Contributor Author

omentic commented Dec 3, 2020

Closing in favor of #16046. Showing the import syntax would be great, even if it's only in the examples.

@omentic omentic closed this Dec 3, 2020
@omentic omentic deleted the patch-1 branch December 3, 2020 06:39
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

Successfully merging this pull request may close these issues.

2 participants