Closed kilianmh closed 1 year ago
Thanks again. I think writing the docstring is fine. If the upstream one changes it could turn inappropriate for us.
However I find their docstrings clearer:
Transform STRING to lower case space delimited. Use REPLACEMENT as delimiter.
Would you mind changing them?
(and if you're up to it, adding a simple example. I can do it later too)
ps: you could on the other hand factorize the part "Calls cl-change-case:dot-case' after coercing
s' into a string, but returns nil if `s' is nil.", maybe, but there's no real need, once we do the copy-paste it's done.
Now the docstrings are copied from cl-change-case
and examples are added for all types (string
, symbol
, character
, nil
)
Closes #91 The
no-case
could also be implemented like this:One idea that appeared was to add the documentation of cl-change-case to our casing functions with
#
. Something like this:Then the REPL documentation would be more helpful for str:dot-case etc. On the other hand it might reduce readability of the code.