secret
Last active

  • Download Gist
alts!!-annotation.clj
Clojure
1 2 3 4 5
(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)]])))

See the updated return types.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.