Skip to content

Commit 9b142aa

Browse files
Fix typo in codata.md (#275)
1 parent 3059a1f commit 9b142aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/tagless-final/codata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ To solve the problem above we need `printRed` and `printBold` to accept not a `S
132132
We don't need to know what these programs do; we just need a way to run them.
133133
Then the combinators `printRed`, `printBold`, and so on, can also return programs.
134134
These programs will set the style appropriately before running their program parameter, and reset it after the parameter program has finished running.
135-
By accepting and returning programs the combinators have the property of closure, meaning that type of the input (a program) is the same as the type of the outpt. Closure in turn makes composition possible.
135+
By accepting and returning programs the combinators have the property of closure, meaning that type of the input (a program) is the same as the type of the output. Closure in turn makes composition possible.
136136

137137
How should we represent a program?
138138
We will choose codata and in particular functions, the simplest form of codata.

0 commit comments

Comments
 (0)