Any real world experience debugging a production functional program?

前端 未结 6 1071
执笔经年
执笔经年 2021-02-05 11:31

I\'m interested in what tools and methods are used for diagnosing flaws in large scale functional programs. What tools are useful? My current understanding is that \'printf\'

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-05 12:09

    The main tools we use at work (a Haskell shop) are:

    1. QuickCheck
    2. HPC: visual Haskell program coverage tool (we developed this in house)
    3. Logging/printf/trace
    4. Sometimes, the GHCi debugger

提交回复
热议问题