a
This commit is contained in:
5
WS23_24/Anwendungsentwicklung/src/P10/FrenchDude.scala
Normal file
5
WS23_24/Anwendungsentwicklung/src/P10/FrenchDude.scala
Normal file
@@ -0,0 +1,5 @@
|
||||
package P10
|
||||
|
||||
object FrenshDude {
|
||||
|
||||
}
|
||||
16
WS23_24/Anwendungsentwicklung/src/P10/additionCurry.scala
Normal file
16
WS23_24/Anwendungsentwicklung/src/P10/additionCurry.scala
Normal file
@@ -0,0 +1,16 @@
|
||||
package P10
|
||||
|
||||
|
||||
object test{
|
||||
def main(args: Array[String]): Unit = {
|
||||
type DoubleFkt = (Double, Double) => Double
|
||||
def func(a: Double, b: Double):
|
||||
DoubleFkt =
|
||||
(x: Double, y: Double) => a + b + x + y
|
||||
|
||||
val yeet = func(1,2)
|
||||
|
||||
println(yeet(3,4))
|
||||
}
|
||||
}
|
||||
|
||||
5
WS23_24/Anwendungsentwicklung/src/P10/calculate.scala
Normal file
5
WS23_24/Anwendungsentwicklung/src/P10/calculate.scala
Normal file
@@ -0,0 +1,5 @@
|
||||
package P10
|
||||
|
||||
object calculate {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user