inductive types (W) #20
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rhi/quox#20
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
btw here's ionchy's notes on w: https://ionathan.ch/2022/04/03/notes-on-w-types
inlining #24 ("the function part of a w value probably needs to be ω") here to reduce clutter
a binary tree is something like (in hypothetical future quox with implicits and
λcase
)but that's no good! we want
node: 1.(l r : Tree A) → Tree A
! the structure uses each subterm once, and the eliminator visits each once!!!i have no idea what to do about this though.
𝕎to inductive types (W)it's like. the normal case rules are
but in the function in a W node it's
but also, presumably, only in certain top-level-ish positions???
maybe this can be a quantity that is treated specially on the head of a
case
expression