higher-kinded-types
Can I use nested generics (aka higher kinded types) in Java?
I was trying to do something like: public class MyClass <A, B, C <A, B>开发者_运维百科 > {[详细]
2023-04-06 00:18 分类:问答Parameterizing types by integers in Haskell
I am trying to make some Haskell types which are parametrized not by types but by elements of a type, specifically, integers.For instance, a (linear-algebra) vector in R^2 and a vector in R^3 are diff[详细]
2023-04-01 21:19 分类:问答What is a higher kinded type in Scala?
You can find the following on the web: Higher kinded type == type constructor?开发者_如何学运维[详细]
2023-03-11 02:10 分类:问答Method-Level Higher-Kinded Types in Scala
I\'ve just started playing around with higher-kinded types in Scala and I\'m experiencing behavior that I do not understand.I\'m doing all of this in the REPL on Scala 2.9.0.1.[详细]
2023-03-09 19:14 分类:问答In Scala, why can’t I use a context bound for type constructors? [duplicate]
This question already has answers here: Closed 10 years ago. Possible Duplicate: Context bounds shortcut with higher kinded-types[详细]
2023-03-07 15:22 分类:问答Context bounds shortcut with higher kinded-types
Is it possible to use the context bounds syntax shortcut with higher kinded-types? trait One { def test[W: ClassManifest]: Unit } // first-order ok[详细]
2023-02-22 13:03 分类:问答Partially applying type parameters
I\'m desperately trying to solve the following: trait Access[Res[_]] { def access[C]: Res[C] } trait CList[C1, A] extends Access[CList[_, A]] // ?![详细]
2023-02-21 11:22 分类:问答Scala: Type inference and subtypes/higher-kinded-types
I\'ve been playing around with Scalaz to get a little bit of the haskell feeling into scala. To understand how things work in scala I started implementing various algebraic structures myself and came[详细]
2023-02-09 11:28 分类:问答How to use a wildcard for a higher-kinded type in Scala?
Let\'s say I have this trait trait Ctx[C, V[_]] I am unable to construct any method signature that takes a Ctx of which the second type parameter is unspecified (wildcard). E.g. this:[详细]
2023-01-25 23:11 分类:问答Implicit parameter resolution for higher kinded types
Consider the following code: object foo { trait开发者_如何转开发 Bar[Q[_]] implicit object OptionBar extends Bar[Option][详细]
2023-01-17 19:10 分类:问答