Skip to content

Tuple expression for .to(def) #1205

Closed

Description

@ssalbdivad

There is an existing tuple expression for morphs (using "=>"), but it accepts a function as the second param.

.to is a helpful sugar that allows providing a validated definition, but there's no way to provide a validated definition to the expression, which could be helpful especially for inlining defs in a scope.

I'd like to determine what that would look like- either an extension of "=>" with an alternate index 2 shape letting us know it's a definition, or a new operator.

Activity

  1. moved this from Backlog to In progress in arktypeioon Feb 1, 2025
  2. moved this from In progress to Backlog in arktypeioon Feb 4, 2025
  3. moved this from Backlog to In progress in arktypeioon Feb 4, 2025
  4. moved this from In progress to Implemented in arktypeioon Feb 5, 2025
  5. moved this from Implemented to Done (merged or closed) in arktypeioon Feb 23, 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

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done (merged or closed)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions