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/blog/_posts/2018-04-27-eighth-dotty-milestone-release.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ f[[X] =>> String]
91
91
```
92
92
93
93
**Note**: This feature is considered experimental and is only enabled under a compiler flag
94
-
(i.e. `-Ykind-polymorphism`). For more information, visit the [Kind Polymorphism](https://dotty.epfl.ch/docs/reference/kind-polymorphism.html)
94
+
(i.e. `-Ykind-polymorphism`). For more information, visit the [Kind Polymorphism](https://dotty.epfl.ch/docs/reference/other-new-features/kind-polymorphism.html)
95
95
section of our documentation.
96
96
97
97
### Improved support for SAM type [#4152](https://github.com/lampepfl/dotty/pull/4152)
This works because the `combine` extension methods of `IntSemigroup` and `ListSemigroup` are available
73
73
from the relevant implicit scopes.
74
74
75
-
Read the [full documentation](https://dotty.epfl.ch/docs/reference/other-new-features/extension-methods.html) about generic extension methods, higher-kinded extension methods, and more.
75
+
Read the [full documentation](https://dotty.epfl.ch/docs/reference/contextual/extension-methods.html) about generic extension methods, higher-kinded extension methods, and more.
76
76
77
77
### TASTy Reflect goodies
78
78
79
-
We implement a new decompiler for TASTy files and we also offer a new VS Code Extension.
80
-
The decompiler allows to view both decompiled scala source code and the pretty printed TASTy tree when opening a .tasty file.
79
+
We implement a new decompiler for TASTy files and we also offer a new VS Code Extension.
80
+
The decompiler allows to view both decompiled scala source code and the pretty printed TASTy tree when opening a .tasty file.
81
81
The feature is similar to opening .class files in IntelliJ.
The decompiler can be invoked with the corresponding flag: `dotc -decompile xyz.tasty`.
86
86
87
-
On the programmatic side of TASTy we are rolling out changes according to our plan discussed at [Macros: The Plan for Scala 3](https://www.scala-lang.org/blog/2018/04/30/in-a-nutshell.html).
88
-
In this release, we make progress following the _Next Steps_ of the aforementioned blogpost by offering constructors that work directly with reflect trees.
87
+
On the programmatic side of TASTy we are rolling out changes according to our plan discussed at [Macros: The Plan for Scala 3](https://www.scala-lang.org/blog/2018/04/30/in-a-nutshell.html).
88
+
In this release, we make progress following the _Next Steps_ of the aforementioned blogpost by offering constructors that work directly with reflect trees.
89
89
Consequently, TASTy extractors meet their dual, TASTy constructors!
90
90
We also connect the new lower-level reflection layer to the existing principled macro system based on quotes and splices offering, two new expression methods for `Expr[T]`:
91
91
92
92
-`unseal` that unseals an `Expr[T]` (non traversable code) into a `Term` and
93
-
-`seal` that seals back a `Term` into an `Expr[T]`.
93
+
-`seal` that seals back a `Term` into an `Expr[T]`.
94
94
95
-
Read the [relevant documentation](https://dotty.epfl.ch/docs/reference/other-new-features/tasty-reflect.html) to learn how to go from quotes and splices to TASTys Reflect trees and back .
95
+
Read the [relevant documentation](https://dotty.epfl.ch/docs/reference/metaprogramming/tasty-reflect.html) to learn how to go from quotes and splices to TASTys Reflect trees and back .
96
96
97
97
### Alignments with the Scala Improvement Process
98
98
99
99
In this version we improve the implementation of by-name implicits making it compliant with the [By-name Implicits](https://docs.scala-lang.org/sips/byname-implicits.html) SIP and we implement the `ValueOf` operator which yields the unique value of types with a single inhabitant, effectively syncing it up with the [Literal-Based Singleton Types](https://docs.scala-lang.org/sips/42.type.html) SIP.
100
100
101
101
### Improvements to GADT support
102
102
103
-
In this release, we're also rolling out the first batch of improvements to GADT support - namely, variable unification.
104
-
To keep it short, from knowing that `A <: B` and `B <: A`, we can now deduce that `A = B`, and from `A = B` and `B <: C` we deduce that `A <: C`.
103
+
In this release, we're also rolling out the first batch of improvements to GADT support - namely, variable unification.
104
+
To keep it short, from knowing that `A <: B` and `B <: A`, we can now deduce that `A = B`, and from `A = B` and `B <: C` we deduce that `A <: C`.
105
105
This kind of reasoning is necessary for many advanced GADT usages!
Copy file name to clipboardExpand all lines: docs/blog/_posts/2019-04-15-14th-dotty-milestone-release.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ For more information, please see the [documentation](https://dotty.epfl.ch/docs/
125
125
Some of the other changes include:
126
126
127
127
-`infer` method renamed to `the`, the semantics of which is now the same as that of the `the` method of Shapeless. Namely, the implicits are resolved more precisely – see this [gist](https://gist.github.com/milessabin/8833a1dbf7e8245b30f8) for an example in Shapeless, and the Dotty [documentation](https://dotty.epfl.ch/docs/reference/contextual/given-clauses.html#querying-implied-instances) for more details.
128
-
- The syntax of quoting and splicing was changed. Now the quoting is expressed via `'{ ... }` and `'[...]` and splicing – via `${...}` and `$id`. Please see the [documentation](https://dotty.epfl.ch/docs/reference/other-new-features/principled-meta-programming.html) for more details on these features.
128
+
- The syntax of quoting and splicing was changed. Now the quoting is expressed via `'{ ... }` and `'[...]` and splicing – via `${...}` and `$id`. Please see the [documentation](https://dotty.epfl.ch/docs/reference/metaprogramming/principled-meta-programming.html) for more details on these features.
0 commit comments