random-port-state? and random-port? Peter McGoron (04 Jun 2026 13:09 UTC)
Re: random-port-state? and random-port? Wolfgang Corcoran-Mathe (04 Jun 2026 19:11 UTC)
Re: random-port-state? and random-port? Peter McGoron (04 Jun 2026 19:33 UTC)
Re: random-port-state? and random-port? Wolfgang Corcoran-Mathe (05 Jun 2026 01:46 UTC)
Re: random-port-state? and random-port? Peter McGoron (05 Jun 2026 11:51 UTC)

random-port-state? and random-port? Peter McGoron 04 Jun 2026 13:08 UTC

I think the libraries should export a `random-port-state?` and
`random-port?` procedure that determine if the state/port is was created
from that library. I have ended up implementing this internally for all
of my random ports and exporting them would be useful for e.g. error
checking when storing values in data structures.

-- Peter McGoron