GorNishanov / coroutines-ts

20 stars 2 forks source link

Editorial fix: Rename [coroutine.handle.import.export] to [coroutine.handle.export.import] to be consistent with the section header and the order in which definitions appear #5

Closed brycelelbach closed 6 years ago

brycelelbach commented 7 years ago

Note that this PR is rebased against #4, so I'd review that one first

In the class synopsis for coroutine_handle<> in [coroutine.handle], this section is referred to as "export/import", and the export function (address) is listed before the import function (from_address). Likewise, in the definitions for these two methods in [coroutine.handle.import.export], the section is titled "Export/import" and address appears first. Since from_address mentions address, this seems like the correct order to list things in as it avoids adding forward references to the spec.

I'd like to rename this stable tag from [coroutine.handle.import.export] to [coroutine.handle.export.import] [as an editorial change before PTDS.