Create a gist now

Instantly share code, notes, and snippets.

(ann ^:no-check clojure.core.async/alts!!
(All [x d]
(Fn [(Seqable (U (Port x) '[(Port x) x])) (Seqable (Port x)) & :mandatory {:default d} :optional {:priority (U nil true)} ->
(U '[d ':default] '[nil (Port x)] '[x (Port x)])]
[(Seqable (U (Port x) '[(Port x) x])) & :optional {:priority (U nil true)} -> '[(U x nil) (Port x)]])))
@mybuddymichael
Owner

See the updated return types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment