:-
, core.typed kitaplığından this code ne anlama geliyor?Ne anlama geliyor: clojure core.typed?
(t/ann play-many [(ta/Chan RPSResult) t/Int -> (t/Map t/Any t/Any)])
(defn play-many
"Play n matches from out-chan and report a summary of the results."
[out-chan n]
(t/loop [remaining :- t/Int, n ;; <======== This line
results :- (t/Map PlayerName t/Int), {}]
(if (zero? remaining)
results
(let [[m1 m2 winner] (a/<!! out-chan)]
(assert m1)
(assert m2)
(assert winner)
(recur (dec remaining)
(merge-with + results {winner 1}))))))
Anlamı:: -'. Bir clojure repl açın ve ': -' yazın ve ne demek istediğimi göreceksiniz. – Cubic