News for hackers. Stuff that matters.
Re:Show HN: Quantum suicide in Python by dangirsh on Thursday March 24, 2016 @04:37AM (#11351352)
Amb is implemented with a backtracking evaluator and supports a try-again operation for requesting all valid outputs (universes). This library just forks the process for each "universe" and kills the ones where fail is called (including failing assertions). It can only return the first valid value.

This library is significantly less useful than amb for non-deterministic computing, but that doesn't seem to be the goal...

There are no comments on this comment yet.