jscl icon indicating copy to clipboard operation
jscl copied to clipboard

ERROR: Function 'EQUALP' undefined

Open VitoVan opened this issue 2 years ago • 2 comments

Welcome to JSCL (version 4d7e110 built on 5 May 2023)

JSCL is a Common Lisp implementation on Javascript.
For more information, visit the project page at [GitHub](https://github.com/jscl-project/jscl).

CL-USER> (equalp #(1 2 3) #(1 2 3))
ERROR: Function 'EQUALP' undefined
CL-USER>

http://clhs.lisp.se/Body/f_equalp.htm

VitoVan avatar May 12 '23 05:05 VitoVan

Wow. How did JSCL go so far without EQUALP? :)

mmontone avatar May 12 '23 13:05 mmontone

Wow. How did JSCL go so far without EQUALP? :)

I just found that the implementation of EQUALP could be very hard (to me at least):

https://github.com/sbcl/sbcl/blob/8dad0d498286d0201bcb9ac3443fb7cbcb47befc/src/code/pred.lisp#L502

I tried to implement it today, but was frightened by the potential complexity.

VitoVan avatar May 12 '23 13:05 VitoVan