diff options
author | Colin Okay <cbeok@protonmail.com> | 2020-07-08 20:01:50 -0500 |
---|---|---|
committer | Colin Okay <cbeok@protonmail.com> | 2020-07-08 20:01:50 -0500 |
commit | 87e072858f9cef09919d7f62dac19c092d546333 (patch) | |
tree | 772510f7ac51d33812f2bd996e199165c61fbed5 | |
parent | e855534f667f84ec210562e3d2708338c9bd4d62 (diff) |
rewording and types
-rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -159,17 +159,19 @@ Here is a brief listing of the other generator constructors in GTWIWTG: - `(file-chars file)` a file-backed generator. Produces characters from that file. - `(file-bytes file)` a file-backed generator. Produces bytes from that file. -You'll some of these in action when you reach the examples section below. +You'll see some of these in action when you reach the examples section below. ### The Combination and Transformation Functions You can create more intersting and more specific generators by using a -few higher-order functions to transform generator into other -generators. These transformations are desirable because they can be -performed before any elements are produced by any of the generators -involved. That is, if you think of a generator as a computation that -produces a series of values, then transformation functions allow you -to incrementally "build up" a desired computation before it is run. +few higher-order functions to transform combine and transform simple generators. + +These transformations are desirable because they can be performed +before any elements are produced. + +That is, if you think of a generator as a computation that produces a +series of values, then transformation functions allow you to +incrementally "build up" a desired computation before it is run. The three core transformation functions are: |