Skip to content

Support module aliases syntax #38

Open

Description

@Folyd

Use the as keyword to create aliases for imported modules or items:

use std.collections.HashMap as Map;
use utils.very_long_module_name as short;

let map = Map();
short.do_something();

Activity

  1. added
    help wantedExtra attention is needed
    langAIScript Language Syntax
    on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededlangAIScript Language Syntax

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions