I am following this tutorial building a Clojure backend and I'm not exactly well versed in Clojure.
The tutorial provides this source file
(ns shouter.web (:require [compojure.core :refer [defroutes GET]] [ring.adapter.jetty :as ring])) (defroutes routes (GET "/" [] "<h2>Hello World</h2>")) (defn -main [] (ring/run-jetty #'routes {:port 8080 :join? false})) what exactly does the #' mean? I know somehow it's getting the value of routes but why can you not just say
(ring/run-jetty routes {:port 8080 :join? false})) Is the #' a ring specific syntax? Couldn't find any good resources on the matter.