When to use it and why?
My question comes from the sentence: "hash cons with some classes and compares their instances with referential equality"
Combining all the answers:
ACL2 (A Computational Logic for Applicative Common Lisp) is a software system consisting of a programming language, extensible theory in first-order logic, and verification of a mechanical theorem.- Wiki ACL2(/kɒnz/or/kɒns/) Lisp. cons ( ) , . (cons) , conses (cons) . Lisp "to cons x on y" (cons x y). , ( ), ( ), cdr.- Wiki Cons, hons - cons, .. ACL2:( (hons x y) (cons x y)), , , cdr. -.- http://www.cs.utexas.edu/~moore/acl2/current/HONS.html
ACL2 (A Computational Logic for Applicative Common Lisp) is a software system consisting of a programming language, extensible theory in first-order logic, and verification of a mechanical theorem.
- Wiki ACL2
(/kɒnz/or/kɒns/) Lisp. cons ( ) , . (cons) , conses (cons) . Lisp "to cons x on y" (cons x y). , ( ), ( ), cdr.
- Wiki Cons
, hons - cons, .. ACL2:
( (hons x y) (cons x y))
, , , cdr. -.
- http://www.cs.utexas.edu/~moore/acl2/current/HONS.html
:
hash cons
, hash cons - Lisp , .
Odersky, Spoon and Venners (2007), Scala, Artima Press, p. 243:
hash cons , . , , , . , , , . , (), .
http://en.wikipedia.org/wiki/Hash_cons .
con s , eq () . ( ) , , , .
con
eq
http://www.cs.utexas.edu/~moore/acl2/current/HONS.html Lisp.
Source: https://habr.com/ru/post/1706327/More articles:How are third-party advertisements delivered to a web page? - advertisingHow to allow more memory and avoid on multiple recursion? - cShort Circuit Error Handling in C - cSQLite - saving multiple values - sqliteUsing a class as a public variable in asp.net - scopeКак отключить предупреждение о безопасности при просмотре XML в IE? - securityhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1706329/formulas-to-generate-a-unique-id&usg=ALkJrhhJfTaz9heaBU_HsaB6QSHUo9J6Xghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1706330/is-it-recommended-for-developers-to-work-on-local-virtual-machines-for-development&usg=ALkJrhglufW3Xp3RFSCm4O_sctcadhKuNAHow to add a new option to the context menu of the context menu of the explorer? - windowsHow to specify an integer in Ruby? - ruby | fooobar.comAll Articles