chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] What use, if any, is `any?' ?


From: Nick Andryshak
Subject: [Chicken-users] What use, if any, is `any?' ?
Date: Wed, 05 Aug 2015 10:11:15 -0400

Hello!

I came across this function in the official documentation recently:

http://wiki.call-cc.org/man/4/Unit%20data-structures#any

>any?
>[procedure] (any? X)
>Ignores its argument and always returns #t. This is actually useful
>sometimes.

Is it, though? Does anyone have any practical examples? And why couldn't
you just replace any usages of (any? x) with just plain #t?

Thanks,

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]