August 2018
Intermediate to advanced
380 pages
10h 2m
English
The instances package exposes the following API:

As you can see from the preceding screenshot, the instances package contains quite a lot of entities. As in the case of the syntax package, the main thing to notice here is the naming convention of these entities. First, we have a set of traits and classes. They are named as follows—the first part of the name is the name of the type for which the instances are defined, and then there's the Instances suffix.
There are also singleton objects, which are named after the types for which the instances are defined.
Let's take a look at what one of the instances traits looks like:
In the ...