Skip to content

Optimize EncodedAdt.constructorArgument #76

@abau

Description

@abau

EncodedAdt.constructorArgument should return an EncodedAdt with a specified number of flags. This number is known while generating code for branches in a pattern match.

  • Question 1: what about built-in naturals?
  • Question 2: after this issue is fixed, is it valid for EncodedAdt.caseOfBits to assert that all branches have the same number of flags?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions