8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475e773 commit f1e6f64Copy full SHA for f1e6f64
README.md
@@ -104,11 +104,11 @@ val result: Option[String] = monadic[Option] {
104
``` scala
105
var count = 0
106
val io = catchIoMonadic[IO] {
107
- count += 1 // Evaluating immediately
108
- val _ = IO(()).each // Paused until io.unsafePerformIO()
+ count += 1 // Evaluates immediately
+ val _ = IO(()).each // Pauses until io.unsafePerformIO()
109
try {
110
count += 1
111
- (null: Array[Int])(0) // Will throw a NullPointerException
+ (null: Array[Int])(0) // Throws a NullPointerException
112
} catch {
113
case e: NullPointerException => {
114
0 commit comments