我们在haskell Prelude中有迭代函数
iterate :: (a -> a) -> a -> [a] iterate f x == [x, f x, f (f x), ...]
C#中的等价物是什么?
c# haskell
c# ×1
haskell ×1