The lazy val is declared as a member of the function, so each time the
function is called there is a new lazy val being memoized.
Brian Maso
On Tue, Apr 10, 2018 at 8:19 AM, wrote:
> Hi
>
> Based on my understanding of the explanation of lazy val memoization in
> section 5.2.1,
That's a java.util.stream.Stream... I assume you are trying to use Scala
stream, which definitely does have a "drop" method.
Brian Maso
On Wed, Oct 24, 2018 at 10:35 AM wrote:
> When I try compile after entering project exercises command, I get the
> following error in t