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