Fork me on GitHub

is there a notion of s/or? I'd like the following: {:before {s/Any s/Any} :after {s/Any s/Any}} #_ or {:item {s/Any s/Any} :collection-id (s/Maybe s/Int)}


each would be defed, the first an UpdateEvent, the latter an AddEvent, and then i'd like to create a schema Event that is UpdateEvent or AddEvent if that's possible. I see there's s/conditional but i don't want conditions on it, just let it match it if that is possible