notjack
2020-8-27 01:49:28

Is there a way to get drracket’s rename identifier operation to work with keywords that are derived from identifiers?


notjack
2020-8-27 01:51:30

Example: I’ve got this define-record-type macro that works like struct except the constructor takes keyword arguments (define-record-type person (name height favorite-color)) (define ted (person #:name "Ted" #:height 70 #:favorite-color "green")) I want to be able to right-click favorite-color, rename it to preferred-color, and have the #:favorite-color keyword change to #:preferred-color


notjack
2020-8-27 01:51:33

Is that possible?