About what I did when creating a .clj file in Clojure

problem

When I created clj-test.clj to create clj-test.core space in Clojure, lein got very angry.

Solution

Changing clj-test.clj to clj_test.clj and the namespace to clj-test.core works fine.

Cause

It seems to be a java specification that the hyphen in the package name is an error.

Recommended Posts

About what I did when creating a .clj file in Clojure
What I learned when building a server in Java
What I did when JSF couldn't display database information in the view
What I checked when I installed Docker Hub in a Windows 10 home environment but it did not start
Add .gitignore when creating a project in Xcode
Escape processing when creating a URL in Ruby
What I did when I converted java to Kotlin
What to do when rails creates a 〇〇 2.rb file
I learned about the existence of a gemspec file
When I switched to IntelliJ, I got a lot of differences in the encoding of the properties file.
What I did in the version upgrade from Ruby 2.5.2 to 2.7.1
What happens when I do new => build => save! In ActiveRecord
What I did when I stumbled on IntelliJ gradle 2.2 → 2.6 environment migration
I want to create a Parquet file even in Ruby
About the behavior when doing a file map with java
What I researched about Java 6
What I researched about Java 9
I got stuck in File
What is a jar file?
What I researched about Java 7
What I learned about Kotlin
What I researched about Java 5
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
What if I write a finally clause in the try-with-resources syntax?
[Note] What I learned in half a year from inexperienced (Java)
[Note] What I learned in half a year from inexperienced (Java) (1)
What I did when the DB did not start with docker-compose up
What I did in the migration from Spring Boot 1.4 series to 2.0 series
[Note] What I learned in half a year from inexperienced (Java) (3)
Creating a matrix class in Java Part 2-About matrices (linear algebra)-
I got a Permission Denied error when I put Laravel in Docker
What I did in the migration from Spring Boot 1.5 series to 2.0 series
What I thought about when I started migrating from Java to Kotlin
What to do if you are told "there is no main manifest attribute" when creating a jar file containing dependencies in a maven project
I created a PDF in Java.
What is a snippet in programming?
About file copy processing in Java
What I did when I was addicted to the error "Could not find XXX in any of the sources" when I added a Gem and built it
What I researched about Java learning
I examined the file created when selecting Empty Activity in Android Studio
[Rails] What I learned from a little stumbling block when using ancestry
I thought about the best way to create a ValueObject in Ruby
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
What did I prepare for when I entered an Android application development project while developing the Web in Java?
In WSL2, when I did `docker-compose up`, I got an error saying that the sh file was not found.