bugfix: only do string transforms on strings not chars
thanks for the report m455!!
This commit is contained in:
parent
179f3c3e2d
commit
f4f877357a
1 changed files with 7 additions and 5 deletions
12
main.scm
12
main.scm
|
@ -151,11 +151,13 @@
|
|||
(pre-post-order*
|
||||
`((*text* .
|
||||
,(lambda (_ str)
|
||||
(->
|
||||
str
|
||||
(string-downcase)
|
||||
(string-translate "/,:;\"[]{}()=+")
|
||||
(string-translate " _." "---"))))
|
||||
(if (string? str)
|
||||
(->
|
||||
str
|
||||
(string-downcase)
|
||||
(string-translate "/,:;\"[]{}()=+")
|
||||
(string-translate " _." "---"))
|
||||
str)))
|
||||
,@alist-conv-rules*))
|
||||
(flatten)
|
||||
((flip map) ->string)
|
||||
|
|
Loading…
Reference in a new issue