Re: [scala-functional] lazy val memoization

2018-04-10 Thread Brian Maso
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,

Re: [scala-functional] Compile error during setting up

2018-10-24 Thread Brian Maso
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