News for hackers. Stuff that matters.
Re:Show HN: Verify JSON using minimal schema by wry_discontent on Thursday April 16, 2020 @11:04AM (#22890112)
It's not statically typed, but you can do this with clojure.spec

  (s/def ::number #(<= -180 % 180))
  (s/def ::my-string (s/and string? #(re-matches #"[a-zA-Z0-9]*" %)))

There are no comments on this comment yet.