F# How to add first 2 nr. in infinite seqence, then add next 2?

前端 未结 0 1438
旧时难觅i
旧时难觅i 2020-12-06 09:18

Example input: {1;2;3;4...}

  1. How to take first 2 numbers & and add them ?
  2. Put result into new sequence
  3. Then take next 2 numbers & add t
相关标签:
回答
  • 消灭零回复
提交回复
热议问题