Test if a value has been evaluated to weak head normal form

前端 未结 4 1156
故里飘歌
故里飘歌 2021-02-07 06:59

In Haskell, is it possible to test if a value has been evaluated to weak head normal form? If a function already exists, I would expect it to have a signature like



        
4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-07 07:15

    There has been a proposal recently, maybe it's somewhere implemented already https://mail.haskell.org/pipermail/libraries/2015-February/024917.html

提交回复
热议问题