You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/reference/other-new-features/opaques.md
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,7 @@ where in consequence `Logarithm` is treated as own type and has nothing to do wi
38
38
The public API of `Logarithm` consists of the `apply` and `safe` methods defined in the companion object.
39
39
They convert from `Double`s to `Logarithm` values. Moreover, a collective extension `logarithmOps` provides the extension methods `toDouble` that converts the other way,
40
40
and operations `+` and `*` on `Logarithm` values.
41
-
As a reminder, the implementations of these functions
42
-
type-check because within the object `Logarithms`, the type `Logarithm` is just a type alias of `Double`.
43
-
Outside of its scope, `Logarithm` is treated as a new abstract type. So the
44
-
following operations would be valid because they use functionality implemented in the `Logarithms` object.
41
+
The following operations would be valid because they use functionality implemented in the `Logarithms` object.
0 commit comments