|
From: | Pietro Cerutti |
Subject: | Re: (declare (pure ...)) |
Date: | Sat, 10 Feb 2024 07:55:32 +0000 |
On 9 Feb 2024, at 21:06, Al <frm.ml@mailgw.com> wrote:
The first implies the second: to be able to choose from a set of return values for the same given argument, you do need to have side-effects, e.g., interact with a RNG which maintains state, read from a file, maintain an index into a circular vector of results, etc.. Here's what the docs say: -- Pietro CeruttiI've pledged to give 10% of income to effective charities and invite you to join me. https://givingwhatwecan.org Sent from a small device - please excuse brevity and typos. |
[Prev in Thread] | Current Thread | [Next in Thread] |