Skip to content

Commit 7d694cd

Browse files
committed
print output better
1 parent 2843ed3 commit 7d694cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/surlybird/core.clj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(ns surlybird.core
22
(:require [cheshire.core :as json]
33
[clojure.java.io :refer [reader file]]
4+
[clojure.pprint :refer [pprint]]
45
[compojure.core :refer :all]
56
[compojure.route :as route]
67
[compojure.handler :as handler]
@@ -27,4 +28,5 @@
2728
(handler/site main-routes))
2829

2930
(defn -main []
30-
(prn "coordinates from sample json --- \n" (get-coords "data/sample.json")))
31+
(println "coordinates from sample json ---")
32+
(pprint (get-coords "data/sample.json")))

0 commit comments

Comments
 (0)