If I put a parenthesis like this, does that make sense?
entity(as[Quiz]) { quiz => (requestContext =>
...
)
}
}
It is simply a currency function with two arguments, and mechanically it is a function that returns another function. Example:
val test: Int => Int => Int = a => b => a + b
println(test(2)(3))
(a, b) => a + b, , :
val t: Int => Int = test(2)
println(t(3))