Implement guarded record constructors #1
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: BirDt/imugi#1
Loading…
Add table
Add a link
Reference in a new issue
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?
;; TODO: define a similar function here for record constructorImplement a type-guarded record constructor which simplifies the component constructor calls such as:
(define-record-type <line-2d>The guarded mutator function can be seen as a reference:
(define (guarded-mutator record-type field predicate)