With the amount of possible outcomes Bayesian statistics just didn't seem reasonable to implement.
Goes without saying this tool is still fairly basic, it shouldn't be used to inform how much to bet or when to fold as it doesn't take into account information such as how much your opponents are betting.
Not sure if you guys are aware but there are solvers existing (most of which are proprietary) that actually give optimal strategies with every possible hands given a betting pattern. They are used extensively as study tools by professional players.
I just tried this one which works like a charm (just run the exe from the zip in github releases ; even comes pre-loaded with a wide amount of preflop ranges, which seem to come from a previous solve) : https://github.com/bupticybee/TexasSolver
Searching with "poker solver haskell" only seem to show very immature projects.
All unknown cards are randomly assigned and it just loops a bunch, reasonably easy to implement and actually is reasonably fast.
https://github.com/JohnFarrellDev/PokerMonteCarloAPI/
With the amount of possible outcomes Bayesian statistics just didn't seem reasonable to implement.
Goes without saying this tool is still fairly basic, it shouldn't be used to inform how much to bet or when to fold as it doesn't take into account information such as how much your opponents are betting.