2015-12-13 21:49:54 +00:00
|
|
|
(ns $PROJECT_NAME_HYPHENATED$.db
|
2017-05-12 13:38:37 +00:00
|
|
|
(:require [clojure.spec.alpha :as s]))
|
2015-12-13 21:49:54 +00:00
|
|
|
|
2016-07-24 22:06:55 +00:00
|
|
|
;; spec of app-db
|
|
|
|
(s/def ::greeting string?)
|
|
|
|
(s/def ::app-db
|
|
|
|
(s/keys :req-un [::greeting]))
|
2015-12-13 21:49:54 +00:00
|
|
|
|
|
|
|
;; initial state of app-db
|
|
|
|
(def app-db {:greeting "Hello Clojure in iOS and Android!"})
|