[heresy-devel] lazy-listp?

Matt Lamari matthew.lamari at gmail.com
Thu Sep 4 05:50:41 UTC 2008


I'm about to publish a new version.  I'll add lazy-listp as well.

The one on Sourceforge is a fair bit older than the one you have - what 
you have now is similar to my next deployment.



Robin Lee Powell wrote:
> I was thinking one of each:
>
> (defun listp/ (list)
>   (typecase list
>     (lazy-list-list-based t)
>     (lazy-list-pair-based t)
>     (lazy-list t)
>     (list t)
>     (t nil)))
>
> (defun lazy-listp (list)
>   (typecase list
>     (lazy-list-list-based t)
>     (lazy-list-pair-based t)
>     (lazy-list t)
>     (t nil)))
>
> BTW, the version you gave me seems to be quite a bit different (as
> judged by diff -w -r) than the version currently on sourceforge;
> which one's more recent?
>
> -Robin
>
> On Wed, Sep 03, 2008 at 08:44:16PM -0500, Matt Lamari wrote:
>   
>> I am inclined toward listp/ - and have it trigger off of listp AND
>> lazy-lists.
>>
>> (Given that almost all the other calls will accept sequences and
>> lazy-lists)
>>
>> Sound good?
>>
>>
>> Robin Lee Powell wrote:
>>     
>>> Does the Heresy library export any way to test if something is a
>>> lazy list?  If not, could it?
>>>
>>> -Robin
>>>
>>>   
>>>       
>
>   




More information about the heresy-devel mailing list