News for hackers. Stuff that matters.
Re:Amb by giornogiovanna on Monday February 24, 2020 @12:32AM (#22401905)
Hopefully this version's closer to the prompt.[0]

Anyway, the F# code, IIUC, lets you do exactly what you want it to do, although you'd have to replace the ifs with guards.

[0]: https://rosettacode.org/wiki/Amb#Monadic

There are no comments on this comment yet.