Skip to content

Syntax for aliasing #21

Open
Open
@wizzardx

Description

@wizzardx

Hi there.

Nim doesn't have a built-in alias command to rename identifiers to something more convenient (eg, D lang has that). But it's possible to get the same effect by using template metaprogramming.

Here's a couple of links with more info on that:

https://forum.nim-lang.org/t/2390

nim-lang/Nim#7090

https://forum.nim-lang.org/t/1515

Could you please add a section for how to do aliasing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions