Skip to content

inhType #10

Description

@eupp

Define inhType structure for inhabited type with one selected element.

  • inhType structure and some canonical instances (e.g. for nat, option, list)
  • ext function that extends function defined on subtype to whole inhabited type
    • ext defined for ordinals
    • ext defined for arbitary subType
  • make ext as coercion

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions