我很高兴地使用了Seq.replicate、Seq.rev和其他列表、数组和序列API。然后我安装了几个包和一些API,比如Seq.replicate停止工作。如果我将鼠标指针悬停在Seq.replicate上,我会看到一个工具提示,上面写着The value, constructor, namespace, or type 'replicate' is not我检查了以前版本的Microsoft.FSharp.Collections中不存在的replicate、rev和其他我不能再调
simulate <- function(bankroll, bet, max_iterations) { #gambler's ruin function while (bankroll > 0 & iteration < max_iterations) { if (win) { } else {
ban