-
Notifications
You must be signed in to change notification settings - Fork 5
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
Keep it simple #3
Comments
I'm not too sure either, but based on my limited understanding of how things are done in clojure, it's OK. Basically, a consequence of the immutability of clojure data structures is that idiomatic clojure doesn't hide their contents. To answer your question, you could want to call |
I changed |
Hey @postamar,
Also according to this documentation it is not necessary that you put the docstring inside metadata, but rather after the name of the function. It should be automatically recognized.
As I said, I would like to work on this, but yesterday I tried to modify your code and I couldnt even get the same code on the README to run. Could you please give me a quick overview over what is what there and how to hack into it? :) |
I'm not sure if it's a good idea to expose so much functionality:
docopt.core.docopt
docopt.core.match
docopt.core.parse
I can understand that compile-time/run-time parsing could be a trade-off, but what one supposed to do with
docopt.core.parse
?I wish it was as simple as
docopt.docopt
as in other implementations, but I can understand that languages, conventions, and needs might be different.The text was updated successfully, but these errors were encountered: