Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define-syntax-rule (struct-match-copy (id . pattern) struct-expr fld-id ...)
- (match struct-expr
- [(id pattern) (struct-copy id struct-expr fld-id ...)]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement