Skip to content

Please, closure on language expression types & inference #973

Open
@Anton-Latukha

Description

@Anton-Latukha

Currently, Nix Type inference is a completely separate type subsystem from language semantics:

simple
On: (2021-05-31)

Notice there are Expr.Types that are language basis & Type.Type that is an inference basis.

They are completely separate currently. It is redunculous that Type.Type does not have ANY import from HNix.

They (Expr.* -> Types.*) need to share the maximum types. It would lead to #187 almost directly.

A good start is variable names.

In the type system, variable names are variable names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions