Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isolomein-naumen committed Oct 27, 2023
1 parent 593d0c1 commit 3d0d702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lectures/scala_lecture_5.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h2>Monoid (моноид)</h2>
}

implicit val doubleMonoid: Monoid[Double] = new Monoid[Double] {
override def empty: Double = 0
override def empty: Double = 1
override def combine(x: Double, y: Double): Double = x * y
}

Expand Down

0 comments on commit 3d0d702

Please sign in to comment.