6.12

1.2 Lenses on Built-In Datatypes

This library provides lenses for most built-in Racket datatypes. In general, the name of each lens corresponds to the name of its accessor function with -lens appended to the end. For example, the lens for accessing the first element of a pair is car-lens, and the lens for accessing an element of a hash is called hash-ref-lens.

    1.2.1 Lenses on Ordered Data

      1.2.1.1 Pairs and Lists

      1.2.1.2 Vectors and Strings

      1.2.1.3 Streams

    1.2.2 Lenses on Key-Value Data

      1.2.2.1 Hash Tables

      1.2.2.2 Dictionaries