Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kaffein
Copy link
Contributor

@kaffein kaffein commented May 18, 2018

Hey guys,

I have tried to run the example from 1.11. Pluralizing Strings Based on a Quantity sub-section then stumbled upon a little issue :

user=> (inf/camelize "my_object")
"my_object"
CompilerException java.lang.RuntimeException: No such var: inf/camelize, compiling:(/tmp/form-init4525435471952857175.clj:1:1) 

We may have used the wrong function name here : camelize.
After checking https://github.com/r0man/inflections-clj/blob/master/src/inflections/core.cljc, it seems that we should have called camel-case instead.

I am providing this very very very small (so small indeed ^^) fix as my contribution to the improvement of this cookbook but also to thank you guys for this awesome book ;-)

thanks in advance for the review ...

@qtrfeast
Copy link
Member

Ha, that is pretty funny. It looks like it was renamed in 2014 😆 : r0man/inflections-clj@581edbe

@qtrfeast qtrfeast merged commit 1b3754a into clojure-cookbook:master May 22, 2018
@kaffein
Copy link
Contributor Author

kaffein commented May 22, 2018

APIs are like diamonds ... they are eternal

they said ^^

thanks for the merge @rkneufeld ;-)

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

Successfully merging this pull request may close these issues.

2 participants