There. My first fully functional, if not necessary very useful, bit of Unison co...
Nicolas Rinaudo @NicolasRinaudo@functional.cafe
There. My first fully functional, if not necessary very useful, bit of Unison code: https://share.unison-lang.org/@nrinaudo/montyHall/code/main/latest
This uses effect handlers to convince me that you do in fact stand a better of winning if you change your mind when offered the chance in a game of Monty Hall.
There's also an Eff implementation (https://codeberg.org/nrinaudo/monty_effects/src/branch/main/eff/monty.eff), but I should probably revisit it now, I've had a few ideas while doing the Unison bit.