]> Repositorios git - scryer-prolog.git/commit
introduce and use weighted_maybe/2
authorMarkus Triska <[email protected]>
Sun, 8 Dec 2024 20:21:05 +0000 (21:21 +0100)
committerMarkus Triska <[email protected]>
Sun, 8 Dec 2024 20:33:03 +0000 (21:33 +0100)
commitabe1f37167b1f43637e64854d62410327c3e48c6
tree0f91f5a94d7032f7fd3d1c213f31909fe69b1274
parentdba9c9a0a79f5199ad1770edb57fd2531ee270ee
introduce and use weighted_maybe/2

Many thanks to @hurufu for the very nice definition!

This is until library(random) provides this functionality,
and a good name is found for it. See #2670.
src/lib/clpb.pl