Re: [scala-language] Understanding Java 8 Lambdas an d Streams - Part 1 - λ Calculus, λ Expressions, Syntactic Sugar, 1st Class Functions
Vlad Patryshev <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CAFhNTo_B-3L3BpMEOj5TwBP5ydxxrhNkRGDdfKDEC2uaCNVo4A@mail.gmail.com> |
Hmm, as soon as you curry a function, you get a function that returns a function that returns a funcion. Thanks, -Vlad On Sun, Mar 22, 2015 at 2:33 AM, Lukas Rytz <[email protected]> wrote: > 265: just a comment: higher-order functions that return functions are much > less common than those taking a function as argument (canonical example: > map) > 269: note that the apply method is inserted whenever a value is applied to > an argument, the value doesn't need to have a function type. > 297: the "pure" / "impure" terminology is a bit confusing in this context. > purity is usually used when talking about (the absence of) side effects. > 302: you can do it in java, too, with the :: syntax ("method reference": > https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html) > > Best, > Lukas > > On Saturday, March 21, 2015 at 1:13:17 PM UTC+1, Philip Schwarz wrote: >> >> Hi Stephen, >> >> There is a download button for the PDF. >> >> There are only 87 Powerpoint slides, but they contain animations to phase >> in phrases, images, etc. The animations are lost in the PDF version, but >> can be simulated by increasing the number of slides, which I did where the >> phasing in mattered. >> >> The scala Slides are 265-285 and 289-302 >> >> Thanks, >> >> Philip >> >> On Saturday, 21 March 2015 04:36:25 UTC, Stephen Compall wrote: >>> >>> On Sat, 2015-03-14 at 17:06 -0700, Philip Schwarz wrote: >>> >>> Hello everyone, >>> >>> >>> >>> anyone care to comment on the Scala aspects of my talk? >>> >>> >>> >>> Could you narrow that down a bit? You have a whopping 344 slides, and >>> it's frightfully tedious to load and search through your presentation, >>> especially on a slow connection, with your chosen web service vs., say, a >>> downloadable PDF. >>> >>> >>> >>> -- >>> Stephen Compall >>> "^aCollection allSatisfy: [:each|aCondition]": less is better >>> >>> -- > You received this message because you are subscribed to the Google Groups > "scala-language" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.