Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mutate-lib/private/mutator-lib.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
swapped
maybe-atom-stx
maybe-atom-stx))
(apply-swap-alist (syntax->datum maybe-atom-stx)
(apply-swap-alist maybe-atom-stx
swaps
mutation-index
counter))))))
Expand All @@ -181,7 +181,7 @@
counter)
(define mutator-sequence
(for/list ([{orig new} (in-dict swap-alist)])
(make-guarded-mutator (λ (v) (equal? v orig))
(make-guarded-mutator (λ (v) (equal? (syntax->datum v) orig))
(λ (v) new))))
(apply-mutators original-value
mutator-sequence
Expand Down