[Sbcl-help] [cl-containers-devel] Problems with priority queues

Juho Snellman jsnell at iki.fi
Mon Apr 30 16:41:52 UTC 2007


Gary King <gwking at metabang.com> writes:
> Hi Josip,
> 
> This hasn't changed in metatilities and it looks to me as if SBCL is  
> confused. The error message looks like it thinks I'm using ~:[. As in:
> 
> > * (format t "~:[A~;B~]" nil)
> > A
> > NIL
> > * (format t "~:[A~;B~]" t)
> > B
> > NIL
> > * (format t "~:[AB~]" t)
> >
> > debugger invoked on a SB-FORMAT:FORMAT-ERROR:
> >   error in FORMAT: must specify exactly two sections
> >   ~:[AB~]
> >     ^

I'm confused about why you think SBCL is confused, since you *are* using
using ~:[ :-)
 
> > ;     (FORMAT STREAM "~(~a~@[.~A~] {~:[...:~]~{~a:~}}~)"
                                        ^^^^^^^^^                             

-- 
Juho Snellman




More information about the cl-containers-devel mailing list