Fork me on GitHub
#clojure-spec
<
2017-01-04
>
zmaril18:01:44

is there a way of hiding a tag in spec? In instaparse, there is <a> = "a" and the hide-tag combinator

seancorfield18:01:27

Do you mean from an s/or clause?

zmaril18:01:46

yes or a s/cat clause

joshjones18:01:24

“hiding” it in what way?

joshjones18:01:41

in the conformed value, the tag will be the key in the map identifying the value

zmaril18:01:41

hmmm okay nvm