8000 Update README.md · CJavaScala/each@e783355 · GitHub
[go: up one dir, main page]

Skip to content

Commit e783355

Browse files
committed
Update README.md
1 parent 1ac2c4a commit e783355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Please import other monad instances if you need other monads.
8181
``` scala
8282
import com.thoughtworks.each.Monadic._
8383
import scalaz.std.option._
84-
val Option[String] = monadic[Option] {
84+
val result: Option[String] = monadic[Option] {
8585
"Hello, Each!"
8686
}
8787
```
@@ -92,7 +92,7 @@ val Option[String] = monadic[Option] {
9292
import com.thoughtworks.each.Monadic._
9393
import scalaz.std.option._
9494
val name = Option("Each")
95-
val Option[String] = monadic[Option] {
95+
val result: Option[String] = monadic[Option] {
9696
"Hello, " + name.each + "!"
9797
}
9898
```

0 commit comments

Comments
 (0)
0