Scala type-level identity function in a type parameter?

Try a higher-kinded parameter: class FooA_ { ... } type IdA = A type Foo1 = FooOption type Foo2 = FooId.

1 Or even, type Foo2 = Foo({type Ida = a})#Id}) – retronym Feb 4 at 6:45 1 @retronym - you're wearing mismatched braces! One opening and two to close can't be right... – Kevin Wright Feb 4 at 13:02 Thanks guys, this what helpful! – n8han Feb 4 at 14:04 1 And brackets as well... – Submonoid Feb 4 at 14:13 This time, REPL Certifiedâ„¢!

Scala> trait Foo2 extends Foo({type Xa=a})#X – retronym Feb 47 at 19:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions