type-expander + multi-id + recursive type goes into an infinite loop #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suzanne.soy/type-expander#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Workaround: use
#:type-noexpand
or#:type-expand-once
instead of#:type-expander
.Maybe we can detect when recursively expanding a type?
Although it should be possible to have a type which recursively expands, but has e.g. a counter ensuring it will stop after a while. E.g.
(homogeneous-list 5 Number)
becomes(Pairof Number (homogeneous-list 4 Number))
etc. so that it will expand only 5 times, and then stop at the sixth, producingNull
.