問題タブ [scala-3]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
scala - この例外「dotc: Bad symbolic reference.」の意味
Scala 3で作業し、いくつかの既存のライブラリを使用したいと考えています。この例は Scala 2.13 で動作します。
コンパイルすると、次の例外が発生します。
これが私のbuild.sbt
更新 OK、2.12で動作し、2.13で次のエラーが発生します。
scala - より高い種類の型ラムダ
ドッティでは、次のように指定されています。
BaseCreate
次のように実装できるように「単純化」したいと思いCreate
ます。
私はもう試した:
しかし、コンパイラは次のように文句を言います:
これは私には意味がありません。正しい構文があれば、それは何ですか?
PS: にこれ以上型パラメーターを導入したくありませんBaseCreate
。特に、F
それはクラスが意図されたソリューションではないDomain.Create
必要があることを意味します。final case class Create[F[_]]