Re: [ANN] CHICKEN 5.4.0 release candidate 2 available

2024-06-30 Thread Pietro Cerutti
Tests work?: yes - All tests passed Installation of eggs works?: yes -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org

New egg: lay - utility to lay eggs efficiently

2024-06-26 Thread Pietro Cerutti
s Checking version[ -- ] Testing.[ ok ] 0s Checking documentation..[ ok ] 0s Removing /tmp/tempdbac.13150 Egg looks ok! -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org

new egg: poule - manage a pool of worker processes

2024-05-28 Thread Pietro Cerutti
s Checking version[ -- ] Testing.[ ok ] 24s Checking documentation..[ ok ] 0s Removing /tmp/temp8e43.54644 Egg looks ok! -- Pietro Cerutti I have pledged to give 10% of income to effective charities and i

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
L > On 10 Feb 2024, at 13:30, Peter Bex wrote: > > On Sat, Feb 10, 2024 at 12:24:36PM +0000, Pietro Cerutti wrote: >> This is not how I reason about referential transparency. It is a property of >> functions applied to values, not variables. >> The fact that yo

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
> On 10 Feb 2024, at 11:10, Al wrote: > > On 2024-02-10 11:53, Pietro Cerutti wrote: > >> I don't see why vector-ref would be any less pure than, say, a let binding. >> Or do you mean vector-set! ? >> > vector-ref, applied to a global, could return dif

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
> On 10 Feb 2024, at 11:10, Al wrote: > > On 2024-02-10 11:53, Pietro Cerutti wrote: > >> I don't see why vector-ref would be any less pure than, say, a let binding. >> Or do you mean vector-set! ? >> > vector-ref, applied to a global, could return dif

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
> On 10 Feb 2024, at 10:45, Al wrote: > > On 2024-02-10 11:20, Pietro Cerutti wrote: > >> Both Haskell and CHICKEN ultimately compile to obiect code. That is not >> important: the important thing is the abstract machine you're programming >> against. This

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
, to make sure I understand: can you show an example of a function which respects only one of those two points? -- Pietro Cerutti I'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.

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
> On 10 Feb 2024, at 09:27, Al wrote: > > On 2024-02-10 10:13, Pietro Cerutti wrote: > >> I don't get your question: those two things are the same thing :) >> >> Referential transparency means you can substitute an expression with its >> expansion

Re: (declare (pure ...))

2024-02-10 Thread Pietro Cerutti
to a value. If anything happening in between causes (observable *) changes, you can't do it anymore. (*) modifying the program counter is not an observable change, for example. -- Pietro Cerutti I'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.

Re: (declare (pure ...))

2024-02-09 Thread Pietro Cerutti
d: 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: http://wiki.call-cc.org/

[new egg] nanosleep - trivial wrapper for the POSIX API

2023-11-15 Thread Pietro Cerutti
ecking documentation..[ ok ] 0s Removing /tmp/temp811d.41894 Egg looks ok! -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org

New egg: awful-main, turn awful webapps into static executables

2023-11-06 Thread Pietro Cerutti
-egg is attached. Thanks! -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org [I] gahr@dev ~> test-new-egg awful-main https://code.ptrcrt.ch/awful-main/doc/trunk/awful-main.release-info Writing egg-locations

Re: openssl eggs: current-milliseconds -> current-process-milliseconds

2023-02-22 Thread Pietro Cerutti
).0. Anyway, thanks all for your thoughts. Of course I am not pushing anywhere; that deprecation can stay where it is, annoying as it might be :) -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org

Re: openssl eggs: current-milliseconds -> current-process-milliseconds

2023-02-21 Thread Pietro Cerutti
ions by major release, so I would guess that the support policy would be the same for all 5.x eggs? If breaking 5.X | X < latest is a concern, this means current-milliseconds must stay in 6.x and can only be removed in 7.x? -- Pietro Cerutti I have pledged to give 10% of income to effective

openssl eggs: current-milliseconds -> current-process-milliseconds

2023-02-21 Thread Pietro Cerutti
Hi, can anybody please s/current-milliseconds/current-process-milliseconds/ in openssl.socket.scm? Thanks! -- Pietro Cerutti I have pledged to give 10% of income to effective charities and invite you to join me - https://givingwhatwecan.org