trim requires
This commit is contained in:
parent
778b184526
commit
5f68f0d5a5
|
@ -4,8 +4,7 @@
|
||||||
convention:hyphen->camelcase)
|
convention:hyphen->camelcase)
|
||||||
(require (for-syntax racket/base
|
(require (for-syntax racket/base
|
||||||
racket/syntax
|
racket/syntax
|
||||||
racket/string
|
racket/string))
|
||||||
syntax/parse))
|
|
||||||
|
|
||||||
(define-syntax (convention:hyphen->underscore id)
|
(define-syntax (convention:hyphen->underscore id)
|
||||||
(format-id id (string-replace (symbol->string (syntax-e id)) "-" "_")))
|
(format-id id (string-replace (symbol->string (syntax-e id)) "-" "_")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user