Is it ever possible to detect sharing in Haskell?

后端 未结 3 1967
说谎
说谎 2020-12-03 17:56

In Scheme, the primitive eq? tests whether its arguments are the same object. For example, in the following list

(define lst
  (let (x (list \'a         


        
3条回答
提交回复
热议问题