Created
August 12, 2013 07:09
-
-
Save seymores/6208758 to your computer and use it in GitHub Desktop.
Clojure namespace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is all you need to know about Clojure’s namespace declarations: | |
(ns my-project.core | |
; :require Clojure libs | |
(:require clojure.core.async | |
[compojure.core :refer [POST routes]] | |
[compojure.handler :refer :all] | |
[ring.adapter.jetty :as jetty] | |
[clojure.edn :as edn :refer [read]]) | |
; :import for Java classes | |
(:import java.net.Socket | |
java.net.SocketException)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment