fredokun / cl-jupyter

An enhanced interactive Shell for Common Lisp (based on the Jupyter protocol)
BSD 2-Clause "Simplified" License
199 stars 29 forks source link

TCO disabled in cl-jupyter #24

Closed ZelphirKaltstahl closed 5 years ago

ZelphirKaltstahl commented 7 years ago

I think TCO is disabled in cl-jupyter. If you check out this SO post: http://stackoverflow.com/questions/38954537/common-lisp-why-need-even-number-of-keyword-parameters I've tried to run a TCOable function in the notebook, where it does not do TCO and in SBCL directly, where it does TCO for the same function.

Is there a need for not having TCO in the notebook?

fredokun commented 7 years ago

Hi, Sorry I've been busy on other things lately... You can have a look at lines 39-40 of the file cl-jupyter.lisp. If you comment out the declaim maybe TCO will be enabled.