A pattern is built from constants, constructors, variables and type tests. Pattern matching tests whether a given value (or sequence of values) has the shape defined by a pattern, and, if it does, ...
Advent of Code, organised by Eric Wastl is a yearly event consisting of a series of small programming puzzles. The puzzles ...
This chapter describes the syntactic structure of XML expressions and patterns. It follows as closely as possible the XML 1.0 specification, changes being mandated by the possibility of embedding ...
Copyright (c) 2011- Lightbend, Inc. Scala is licensed under the Apache License, Version 2.0 (the “License”). Unless required by applicable law or agreed to in ...
Martin Odersky, Philippe Altherr, Vincent Cremet, Gilles Dubochet, Burak Emir, Philipp Haller, Stéphane Micheloud, Nikolay Mihaylov, Adriaan Moors, Lukas Rytz, Michel Schinz, Erik Stenman, Matthias ...
A pattern is built from constants, constructors, variables and type tests. Pattern matching tests whether a given value (or sequence of values) has the shape defined by a pattern, and, if it does, ...
Scala collections systematically distinguish between mutable and immutable collections. A mutable collection can be updated or extended in place. This means you can change, add, or remove elements of ...
A template defines the type signature, behavior and initial state of a trait or class of objects or of a single object. Templates form part of instance creation ...
A template defines the type signature, behavior and initial state of a trait or class of objects or of a single object. Templates form part of instance creation expressions, class definitions, and ...
A template defines the type signature, behavior and initial state of a trait or class of objects or of a single object. Templates form part of instance creation ...
A declaration introduces names and assigns them types. It can form part of a class definition or of a refinement in a compound type. A definition introduces names that denote terms or types. It can ...
The jdk package contains utilities to interact with JDK classes. This packages offers a number of converters, that are able to wrap or copy types from the scala library to equivalent types in the JDK ...