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

后端 未结 3 575
故里飘歌
故里飘歌 2021-02-14 17:40

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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-14 18:26

    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.

提交回复
热议问题