File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ object BusinessLogic {
5050
5151 // use the standard implementation of Random backed by java.util.Random()
5252 // (the same implementation as Random.javaUtilRandom(43))
53- implicit r : IO [Random [IO ]] = Random .scalaUtilRandom[IO ]
53+ implicit val r : IO [Random [IO ]] = Random .scalaUtilRandom[IO ]
5454
5555 // other possible implemntations you could choose
5656 val sr = SecureRandom .javaSecuritySecureRandom(3 ) // backed java.security.SecureRandom()
@@ -90,7 +90,7 @@ class MagicSpec extends AnyFunSuite {
9090
9191 // for testing, create a Random instance that gives back the same number ever time.
9292 // with a "stable" version of Random, we
93- implicit r : IO [Random [IO ]] = IO (
93+ implicit val r : IO [Random [IO ]] = IO (
9494 new Random [IO ] {
9595 def betweenInt (minInclusive : Int , maxExclusive : Int ): IO [Int ] =
9696 IO (7 ) // gives back 7 every call
You can’t perform that action at this time.
0 commit comments