Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#scala
Question
Methods in Scala are not values, but [...]are.
Answer
functions

Tags
#scala
Question
Methods in Scala are not values, but [...]are.
Answer
?

Tags
#scala
Question
Methods in Scala are not values, but [...]are.
Answer
functions
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

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.