Kinds of bugs that are more likely/prone in Haskell programs than in other languages?

后端 未结 3 791
旧巷少年郎
旧巷少年郎 2021-02-14 17:41

One of the highly-touted features is that if a program compiles, it highly likely to be mostly correct, more so than a program written in a language with a less sophisticated or

3条回答
  •  庸人自扰
    2021-02-14 18:19

    Laziness, especially lazy I/O where pure functions can force IO actions or closing a file Handle prior to reading. The Haskell course by Stanford University has good information on this in the Iteratee lecture. Imho, this lecture series is very well written and covers a lot of ground.

提交回复
热议问题