You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Nim, you can import multiple modules in concisely as:
import std / [sequtils, parsexml]
However, you cannot do the same using the from syntax, (particularly if you want fully qualified imports on multiple modules) which I feel is not consistent, e.g.
from std / [sequtils, parsexml] importnil# error!
If others agree with adding this, unfortunately this will require a bit of a grammar change, (although nothing too drastic in my opinion) because:
In Nim, you can import multiple modules in concisely as:
However, you cannot do the same using the
from
syntax, (particularly if you want fully qualified imports on multiple modules) which I feel is not consistent, e.g.If others agree with adding this, unfortunately this will require a bit of a grammar change, (although nothing too drastic in my opinion) because:
The text was updated successfully, but these errors were encountered: