Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
(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 commented Oct 3, 2013

See the updated return types.

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