Re: formatter problem

Tim McNerney <[email protected]>
Newsgroups gmane.lisp.openmcl.devel
Message-ID <[email protected]>
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 <[email protected]> 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.
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.