jscl-project / jscl

A Lisp-to-JavaScript compiler bootstrapped from Common Lisp

Home Page:https://jscl-project.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: Function 'EQUALP' undefined

VitoVan opened this issue · 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

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

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.