Lisp HUG Maillist Archive

CommonSQL map-query

From the example in the documentation
  http://www.lispworks.com/reference/lw43/LWRM/html/lwref-426.htm#pgfId-889111

it appears that map-query calls the tuple function with an atom for a
query with a single attribute. However, testing with LWW Ent 4.2 and
4.3 shows that a list of one atom is supplied to the function.

My question:
  Is Lispworks behavior or the documention incorrect? Put another way,
  do you expect the behavior of map-query to change or the
  documentation?

Thanks!
 
-- 
Kevin Rosenberg
kevin@rosenberg.net


Re: CommonSQL map-query

Kevin Rosenberg wrote:
> it appears that map-query calls the tuple function with an atom for a
> query with a single attribute. However, testing with LWW Ent 4.2 and
> 4.3 shows that a list of one atom is supplied to the function.

Whoops -- I missed the :flatp argument. That explains it. Sorry for
the flawed question.
  
-- 
Kevin Rosenberg
kevin@rosenberg.net


Updated at: 2020-12-10 08:56 UTC