Skip to content

Commit

Permalink
PEP 677: Readability and organizational edits (#2193)
Browse files Browse the repository at this point in the history
* Address Guido's comments from initial PR

* Update functions-as-types based on Pradeep's feedback

* Fix some markup, address comments on endpoint example

* Rearrange Motivation and Rationale

* Move the language comparison subsection to Rational

* Fix more markup errors

* Rework "Motivation" section again

Going with Pradeep's suggested order:
- untyped example
- correct types
- partially-typed code
- our proposal

* Fix more lint errors

* Add a section highlighting a concern about -> readability

* Update the add/wrap/flatmap example

* Wording change suggested by AlexWaygood

* Add missing return annotation

Co-authored-by: Alex Waygood <[email protected]>

* Break up long sentence

Co-authored-by: Jelle Zijlstra <[email protected]>

* Break up long sentence (thanks Jelle)

* Reword awkward sentence (thanks Pradeep)

* Rearrange paragraphs in Motivation

Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2021
1 parent 581d21d commit c8a66e3
Showing 1 changed file with 341 additions and 229 deletions.
Loading

0 comments on commit c8a66e3

Please sign in to comment.