Docs.scala-lang.org download pdf






















The map method of the List class is a typical example of a higher-order function—a function that takes a function as parameter. These two examples are equivalent, and show how to multiply each number in a list by 2 by passing a lambda into the map method:.

Those examples are also equivalent to the following code, which uses a double method instead of a lambda:. For instance, this example shows how to filter a collection twice, and then multiply each element in the remaining collection:.

Git stats 5, commits. Failed to load latest commit information. View code. Quickstart To build and view the site locally: gem install bundler bundle install bundle exec jekyll serve -I.

About The Scala Documentation website docs. Code of conduct. Releases No releases published. Packages 0 No packages published. Contributors You signed in with another tab or window. Reload to refresh your session. Once you are familiar with the basics of Scala you will appreciate having this source of invaluable examples and precise explanations of Scala on hand. The book is available from Artima. Award winning book - Jolt Productivity award for Technical Books.

Dean is a well-known member of the Scala community, using Scala recently for streaming data systems at Lightbend and now at Domino Data Lab. This edition covers the new features of Scala 3, with comparisons to Scala 2, both to explain why the changes were made and how they improve Scala, and also to enable developers using mixed Scala 2 and 3 code bases to work effectively. The book is aimed at professional programmers who want a comprehensive, in-depth, yet pragmatic tour of Scala and best practices for using it.

In the process you will learn how to use the Scala language to solve challenging problems in an elegant and intuitive manner.



0コメント

  • 1000 / 1000