packet.clj
Branches > facts > af56f7e > files / src / net / bowmap / network / packet.clj
(ns net.bowmap.network.packet
(:require
[clojure.spec.alpha :as s]))
(s/def ::id qualified-keyword?)
(s/def ::numeric-id #(and (int? %) (not (neg? %))))
Branches > facts > af56f7e > files / src / net / bowmap / network / packet.clj
(ns net.bowmap.network.packet
(:require
[clojure.spec.alpha :as s]))
(s/def ::id qualified-keyword?)
(s/def ::numeric-id #(and (int? %) (not (neg? %))))