@@ -6,12 +6,13 @@ authorImg: /images/aggelos.jpg
6
6
date : 2019-03-04
7
7
---
8
8
9
- Hello hello! This is the second release for 2019, let's call it the _ Contextual_
10
- release and you will understand why we are super excited in a bit! ✨🎊🎉
9
+ Hello hello! This is the second release for 2019. Spark, top level definitions
10
+ and redesigned implicits ✨🎊🎉 are the most important inclusions in this release
11
+ and you will understand why we are super excited, in a bit!
11
12
12
- Without further ado, today we release the version 0.13.0-RC1 of the Dotty compiler.
13
- This release serves as a technology preview that demonstrates new language features and the
14
- compiler supporting them.
13
+ Without further ado, today we release the version 0.13.0-RC1 of the Dotty
14
+ compiler. This release serves as a technology preview that demonstrates new
15
+ language features and the compiler supporting them.
15
16
16
17
Dotty is the project name for technologies that are being considered for
17
18
inclusion in Scala 3. Scala has pioneered the fusion of object-oriented and
@@ -125,7 +126,7 @@ implied ListOrd[T] given (ord: Ord[T]) for Ord[List[T]] {
125
126
}
126
127
```
127
128
128
- A ` given ` clause can also designate an inferable parameter for functions:
129
+ A ` given ` clause can also designate an inferable parameter for functions:
129
130
130
131
``` scala
131
132
def max [T ](x : T , y : T ) given (ord : Ord [T ]): T =
@@ -180,7 +181,7 @@ object B {
180
181
}
181
182
```
182
183
183
- You can read more about [ implied
184
+ ** You can read more about** [ implied
184
185
imports] ( https://dotty.epfl.ch/docs/reference/contextual/import-implied.html )
185
186
from the docs or the relevant PR
186
187
[ #5868 ] ( https://github.com/lampepfl/dotty/pull/5868 ) .
@@ -196,7 +197,7 @@ Context queries--previously named implicit function types (IFTs)--are now also
196
197
expressed with ` given ` , providing types for first-class context queries. This is
197
198
merely an alignment of IFTs into the new scheme.
198
199
199
- You can read about the alternative to implicits through the * Contextual
200
+ ** You can read more about** the alternative to implicits through the * Contextual
200
201
Abstractions* section of our documentation or for a deep dive from the relevant
201
202
PR chain that originated from
202
203
[ #5458 ] ( https://github.com/lampepfl/dotty/pull/5458 ) . The syntax changes for new
@@ -248,9 +249,9 @@ it has a definition like this:
248
249
def derived [T ] given Generic [T ] = ...
249
250
```
250
251
251
- You can read more about [ Typeclass
252
+ ** You can read more about** [ Typeclass
252
253
Derivation] ( https://dotty.epfl.ch/docs/reference/contextual/derivation.html ) or
253
- for a deep dive at the relevant PRs:
254
+ have a deep dive at the relevant PRs:
254
255
[ #5540 ] ( https://github.com/lampepfl/dotty/pull/5540 ) and
255
256
[ #5839 ] ( https://github.com/lampepfl/dotty/pull/5839 ) .
256
257
@@ -263,7 +264,7 @@ provide a derived implicit instance:
263
264
implied for Eql [Int , String ] = Eql .derived
264
265
```
265
266
266
- You can read how we based multiversal equality on typeclass derivation through
267
+ ** You can read more about ** how we based multiversal equality on typeclass derivation through
267
268
the relevant PR [ #5843 ] ( https://github.com/lampepfl/dotty/pull/5843 ) .
268
269
269
270
_ Implicit conversions_ are now defined by implied instances of the
0 commit comments