Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # spec/cat `cat` "concatenate" sequence items (first this, then that) <code clojure> (s/conform (s/cat :num number?, :key keyword?) [5 :b]) ;;=> {:num 5, :key :b} </code> Each item gets a name The conformed result is a map that can easily be consumed with Clojure's [[destructuring]] ## Docs - [[spec-alt]] open/spec-cat.txt Last modified: 2024/10/05 06:15by 127.0.0.1