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

Add clojure templates #68

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

ellnix
Copy link
Collaborator

@ellnix ellnix commented Apr 28, 2024

This is meant to go along with #65

Split off for easier review.

@ellnix ellnix marked this pull request as ready for review April 28, 2024 15:50
Copy link
Owner

@Andriamanitra Andriamanitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to keep the ns and defn main for compatibility with CodinGame? Writing code on the top level would "just work" with bb sol.clj or clj -M sol.clj, but running the main function requires a more complicated incantation. Solutions don't ever need to use their args so having a main function doesn't really add any other value than CodinGame compatibility.

config/stub_templates/clojure/stub_config.toml Outdated Show resolved Hide resolved
config/stub_templates/clojure/write.clj.jinja Outdated Show resolved Hide resolved
config/stub_templates/clojure/write_join.clj.jinja Outdated Show resolved Hide resolved
config/stub_templates/clojure/stub_config.toml Outdated Show resolved Hide resolved
@ellnix
Copy link
Collaborator Author

ellnix commented May 7, 2024

I summon the clojure and template master: @daxida

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.

None yet

3 participants