back soft

مطالب مرتبط با «how to find density» در back soft | نویسنده: استخدام کار

How to find supertype in scala

Vote count: 0 If A { val b: Two } type Fun2 = { val b: Two } => { val a: One } type SuperType = { ?? } type TypeOne = { def apply: { val func: Fun1 ; val c: Three } => { val b: Two ; val d: Four } val g: Seven } type TypeTwo = { def apply: { val func: Fun2 ; val e: Five } => { val b: Two ; val f: Six } val h: Eight } How can I make SuperType which is the supertype of TypeOne and TypeTwo. I could only come up with the keyword 'Any' nothing else works. I also tried def apply: {val func: Fun1}=>{val b: Two} because I don't see and relationship between all the other values asked 1 min agouser3564573 Let's block ads! بخوانید...

ادامه مطلب

برچسب‌های مرتبط

how to find pokemon in pokemon go | how to find pokemon | how to find slope | how to find standard deviation | how to find the area of a triangle | how to find the area of a circle | how to find density | how to find area | how to find percentage | how to find the domain of a function