doc icon indicating copy to clipboard operation
doc copied to clipboard

Relocate methods from Numeric to Real

Open coke opened this issue 5 years ago • 1 comments

The following methods are documented as part of the Numeric role but aren't present in the Numeric source (found with xt/check-signatures.t)

    ok 2 - # SKIP Numeric.Int not found on Numeric
    ok 3 - # SKIP Numeric.Rat not found on Numeric
    ok 4 - # SKIP Numeric.Num not found on Numeric
    ok 8 - # SKIP Numeric.conj not found on Numeric

These 4 (there are others not found for Numeric) all appear in Real 's source (which does Numeric), but not in the Real doc page - these method definitions should be moved.

coke avatar Jan 15 '21 18:01 coke

Not a simple lift and shift, requires some textual updates as well.

coke avatar Jan 21 '21 16:01 coke

It looks as if all of these have been moved to Real except for method conj (which is also documented under Cool and Complex).

Was it decided that method conj should be documented under Numeric after all? (In which case we should be able to close this issue.) If not, I'll move it so this can close: what "textual updates" might I still need to be on the lookout for?

arkiuat avatar Nov 19 '25 23:11 arkiuat

weirdly, spec seems to only have Str.conj and Complex.conj

coke avatar Nov 20 '25 02:11 coke

If it were just implementation and not spec, I can see why one might want to document Str.conj as if it were in Cool.

I guess I'll need to take a closer look before doing anything here.

arkiuat avatar Nov 20 '25 06:11 arkiuat