我正在尝试编写一个简单的F#函数,我可以将数组传入然后打印值,但我遇到了麻烦.这是我到目前为止:
let a = [| a; b; c; d |];; let f arrayFunction (string[] array) = function for b=0 to array.Length Console.WriteLine(array.[]);;
.net f#
如何使用F#中的函数找到链表的元素总和?
.net ×2
f# ×2