2016-02-25 20:05:46 +00:00
|
|
|
(ns $PROJECT_NAME_HYPHENATED$.db
|
2016-08-13 07:44:14 +00:00
|
|
|
(:require [clojure.spec :as s]))
|
2016-02-25 20:05:46 +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]))
|
2016-02-25 20:05:46 +00:00
|
|
|
|
|
|
|
;; initial state of app-db
|
|
|
|
(def app-db {:greeting "Hello Clojure in iOS and Android!"})
|