Open Almas-Ali opened 7 months ago
Couple of things are going to be changed with this proposal. Currently we have include keyword to handle imports.
include
import
import stdlib import "/from/path"
Example:
from stdlib import module from "any/path" import my_functions from egg import chicken as chicks
Also, only import will be valid syntax.
import library import "module/path"
import module module.function() module.Class(something).method()
as
from module import function as my_function import "from/path" as library import Library as lib
On any changes this issue will be updated.
As we are planning to make it most developer friendly language, we are going to replace include with import.
Added as keyword support #142
Couple of things are going to be changed with this proposal. Currently we have
include
keyword to handle imports.include
withimport
.Example:
Also, only
import
will be valid syntax.Example:
as
withimport
statement.Example:
On any changes this issue will be updated.