Yang, Bo
Yang, Bo
Workaround: ``` "cmake.cacheInit": "/${env:CMAKE_INIT_CACHE}" ``` then the following command will be executed: ``` cmake ... -C //tmp/my-init-cache.cmake ... ```
Will https://github.com/milessabin/macro-compat switch to typelevel Scala?
So will shapeless drop the support for 2.10 after switching to TLS?
Option 3: Release compiler plugins as source code instead of Java bytecode, like what sbt's compiler interface did.
I think there is a `dependsOn` method in sbt ``` scala dependsOn(ProjectRef(uri("git://github.com/xxx/xxx.git"), "subproject")) ```
I found a workaround: ``` scala @simulacrum.typeclass trait MyTypeClass[A] extends AnyRef { typeClassInstance => def opWithThisType(a: A)(implicit constrait: typeClassInstance.type `
`new` should be a method instead of a keyword. I implemented similar feature in the type class [Factory](https://static.javadoc.io/com.thoughtworks.feature/the_2.11/2.3.0/com/thoughtworks/feature/Factory.html) in the library [feature.scala](https://github.com/ThoughtWorksInc/feature.scala).
[Dsl.scala](https://github.com/ThoughtWorksInc/Dsl.scala) is more general than scala.async. I am trying to port compiler plugins in Dsl.scala to Dotty. There are two compiler plugins in the Dsl.scala project: 1. `BangNotation` performs function...
`ResetEverywhere` enables syntax like `Future { !Await(f1); !Await(f2) }`. Without `ResetEverywhere`, you have to write `reset(Future { !Await(f1); !Await(f2) })`. Porting `ResetEverywhere` is blocked by https://github.com/lampepfl/dotty/issues/7160.
@kubukoz Not really. A generic language-level solution like Dsl.scala does not bind to any underlying implementation.