chicken-users
[Top][All Lists]
Advanced

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

Re: (declare (pure ...))


From: siiky
Subject: Re: (declare (pure ...))
Date: Fri, 9 Feb 2024 22:11:17 +0000
User-agent: Mozilla Thunderbird Beta

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





reply via email to

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