If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it Methods in Scala are not values, but functions are.
Original toplevel document
tpolecat to when people get confused on #scala, but it turns out that there are a lot of cases to consider. It would be nice if this could just be the last word on methods vs. functions in Scala, so if I missed anything please let me know.
TL;DR ... <span>Methods in Scala are not values, but functions are. You can construct a function that delegates to a method via η-expansion (triggered by the trailing underscore thingy).
The definition I will be using here is that a method is something
last interval [days]
repetition number in this series
scheduled repetition interval
last repetition or drill
Do you want to join discussion? Click here to log in or create user.