Skip to content

Commit

Permalink
Transferred contributed typo fixes to their original source file
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 8, 2025
1 parent ab65963 commit 96353dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ object Show extends ProductDerivation[Show]:
array.join(t"[", t", ", t"]")
```

This definiton is sufficient to generate new (and working) contextual instances
This definition is sufficient to generate new (and working) contextual instances
of `Show` for product types. Given the definition of `Person` above,
`Person(t"George", 19).show` would produce the string, `[George, 19]`.

Expand Down Expand Up @@ -358,7 +358,7 @@ right arrays will at least be pairwise-compatible.) We could then iterate over
the three arrays together, applying the each typeclass to its corresponding
left and right field value, and then aggregating the results.

While possible, this would be inefficient and would rquire a significant
While possible, this would be inefficient and would require a significant
compromise of typesafety: inside the lambda, a value and a typeclass will be
typed according to `FieldType`, and therefore uniquely compatible with each
other. But as soon as they are aggregated into an array, independent of each
Expand Down

0 comments on commit 96353dc

Please sign in to comment.