[Openmcl-devel] formatter problem

Tim McNerney mc at media.mit.edu
Wed Dec 28 06:54:22 PST 2022


The way I would start to solve this is by ‘grep’ing the error message in the CCL sources. Based on your experiment, I would guess the pretty printer works differently when trying to format code v “data.” Please let us all know if you come up with a patch. 

--Tim

> On Dec 28, 2022, at 08:40, Madhu <enometh at meer.net> wrote:
> 
> 
> The following code results in a "Justification illegal in this
> context" error in CCL
> 
> ```
> (let ((*print-pretty* t)) (format nil "~<~:; ~S ~>" '(car)))
> ```
> 
> However if you try t pass'(CARD) instead of '(CAR)' to format, it
> works apparently because it is not fbound.
> 
> If anyone has a clue about this, please post.
> 
> PS: I have an open pull-request and another patch open on github,
> (both of which I've tested for a few years now).  I'd like to get
> these reviewed for correcteness and get these into the tree.
> 
> If there are any resons why they will not be accepted, please let me
> know.
> 
> 
> 
> 



More information about the Openmcl-devel mailing list