Skip to content

new floating and dependent types #23

Description

@np

This is a potential issue regarding the theory.

Typically the channel allocations/restriction, aka new in Ling, is allowed to commute upward (of course renaming channels to avoid conflicts).

Consider the following program:

recv c (i : Int)
new (v : ? Vec A i, v')
( .... | .... )

Here the new cannot float upward because of the type dependency.

At least this might force the types to be kept around in the compiler phases involving these floating rules.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions