Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kebab/Keyword drops question marks (?) #92

Open
tlingard opened this issue Jul 15, 2024 · 0 comments
Open

Kebab/Keyword drops question marks (?) #92

tlingard opened this issue Jul 15, 2024 · 0 comments

Comments

@tlingard
Copy link

Ran into this while converting boolean type attributes to Clojure kebab-keywords.

Examples:

(require '[cuerdas.core :as str])


(str/kebab "got_milk?") 
; => "got-milk"

(str/kebab :got_milk?) 
; => "got-milk"

(str/keyword "got_milk?") 
; => :got-milk

(str/keyword :got_milk?) 
; => :got-milk


;; clojure keyword
(keyword "got_milk?") 
; => :got_milk?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant