diff options
author | Arun Isaac | 2021-12-04 15:05:18 +0530 |
---|---|---|
committer | Arun Isaac | 2021-12-04 15:07:20 +0530 |
commit | a508368c4019ad7ff4fed94e794d90eb8b5115de (patch) | |
tree | 0fccac9ef776544fd3b3060f2494b0a62f2e3206 | |
parent | a44350f5257f65ccd8cc84232561a094febed86f (diff) | |
download | gn-transform-databases-a508368c4019ad7ff4fed94e794d90eb8b5115de.tar.gz |
Remove redundant camel->lower-camel function.
* dump.scm (camel->lower-camel): Delete function.
(default-metadata-proc): Do not use camel->lower-camel.
-rwxr-xr-x | dump.scm | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -107,10 +107,6 @@ characters with an underscore and prefixing with gn:PREFIX." (drop char-list 1) char-list))))) -(define (camel->lower-camel str) - (string-append (string-downcase (substring str 0 1)) - (substring str 1))) - (define (string-blank? str) "Return non-#f if STR consists only of whitespace characters." (string-every char-set:whitespace str)) @@ -129,9 +125,7 @@ characters with an underscore and prefixing with gn:PREFIX." (match-lambda ((key . value) (cons (string->symbol - (string-append - "gn:" (camel->lower-camel - (snake->lower-camel key)))) + (string-append "gn:" (snake->lower-camel key))) value)) (x (error "malformed alist element" x)))) |