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 as a language option to Faker::Source generator #2582

Merged
merged 2 commits into from
Oct 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/locales/en/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ en:
python: "print('Hello World!')"
java: "System.out.println('Hello World!');"
elixir: "IO.puts 'Hello World!'"
clojure: "(print 'Hello World!')"
print:
ruby: "puts 'faker_string_to_print'"
javascript: "console.log('faker_string_to_print');"
Expand All @@ -17,6 +18,7 @@ en:
python: "print('faker_string_to_print')"
java: "System.out.println('faker_string_to_print');"
elixir: "IO.puts 'faker_string_to_print'"
clojure: "(print 'faker_string_to_print')"
print_1_to_10:
ruby: "
(1..10).each { |i| puts i }"
Expand Down Expand Up @@ -44,3 +46,6 @@ en:
Enum.each(1..10, fn(x) ->
IO.puts x
end)"
clojure: "
(for ([i (in-range 1 11)])
(display i))"
professorjrod marked this conversation as resolved.
Show resolved Hide resolved