Hiding versions of random from GHCi
问题 I am working with the newsynth package and am running into a bug that I am starting to suspect has to do with the update random-1.2.0 over the summer ( newsynth was last updated in late 2019, and random-1.2.0 came out in June. I have run cabal update since then, which is why both seem to be installed.) Here is the code that I ran in GHCi: λ> import System.Random λ> import Quantum.Synthesis.Ring λ> import Quantum.Synthesis.Diophantine λ> g <- getStdGen λ> diophantine g (RootTwo 5 0)