WIP: quantity polymorphism #44
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rhi/quox#44
Loading…
Reference in New Issue
No description provided.
Delete Branch "qpoly"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
new syntax
the existing
π.(x : A) → …
etc syntax only really works when π is a single token. and even then it took me a while to get used to it.function types
(x : A | π) → B
(A | π) → B
for nondependent. parens needed to disambiguate nested function typesboxes
[A | π]
for consistency with new function syntaxcase/let
case‹π›
orcase.{π}
, same forlet
; same as qty appcase0
etc still existqty polymorphic definitions:
def app‹π, ρ› : type = rhs
def app.{pi, rh}
for non-unicode versionf‹π, ρ›
orf.{pi, rh}
for applicationStep 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.