Efficiency of equality in Haskell

前端 未结 3 1670

I\'ve got a function that takes data and either returns the same data or a slightly modified version.

I want to have my program do one thing if it changed or another thi

3条回答
  •  鱼传尺愫
    2021-02-12 17:30

    The derived (==) is always deep comparison. Your question has been discussed on haskell-cafe.

提交回复
热议问题