Re: (declare (pure ...))

siiky via <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
Hi Al,

> what does (declare (pure ..)) mean to csc? Is the function supposed to be
> 
> * only side-effect free, or ...
> 
> * also return the same value when called with the same arguments?

I can't remember where `(declare)` is documented, but I believe this [0] 
is also relevant.

[0] https://wiki.call-cc.org/man/5/Types#purity

Good luck!
siiky
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.